Which of the following is NOT a valid data type in C ?
2024
Which of the following is NOT a valid data type in C ?
- A.
int
- B.
float
- C.
string
- D.
char
Attempted by 422 students.
Show answer & explanation
Correct answer: C
In C, there is no built-in string data type. Strings are typically represented as arrays of characters (char[]) or pointers to characters (char*).