ExamVeda
Login
Home
This question belongs to C Program C Fundamentals
C Fundamentals
?

Which of the following is not a correct variable type?

Answer & Solution
Correct Answer: Option B
Variable types in C define the kind of data that can be stored in a variable.

Option A: float - This is a correct variable type in C, used for storing single-precision floating-point numbers.

Option B: real - This is not a correct variable type in C. There is no data type called real in C.

Option C: int - This is a correct variable type in C, used for storing integers.

Option D: double - This is a correct variable type in C, used for storing double-precision floating-point numbers.

Option E: char - This is a correct variable type in C, used for storing single characters.

Therefore, the correct answer is Option B: real.
Examveda
Question posted by Examveda
Community

Join the Discussion

3 Comments
Malick Sallah
Malick Sallah 6 years ago
the answer is float
Satyam Bajpai
Satyam Bajpai 7 years ago
Thanks Mujtaba Hassan
Mujtaba Hassan
Mujtaba Hassan 9 years ago
The real constant is also called floating point which contains a decimal point
we cannot use real because it is not define in headerfile only float is define