Which statement is correct about the case sensitivity of C and C++?

Options

  • A. C and C++ are case-sensitive languages.
  • B. C and C++ are not case-sensitive languages.
  • C. Only C is case-sensitive, while C++ is not.
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

A. C and C++ are case-sensitive languages.

Detailed Explanation

Answer: (A) C and C++ are case-sensitive languages.

C and C++ distinguish between uppercase and lowercase letters.

For example, value, Value and VALUE are treated as different identifiers.

This means that changing the case of an identifier can change its meaning in a program.