Computer Science, asked by vickythakur303, 1 year ago

Which of the following is not a correct variable type?
A.float
B.real
C.int
D.double

Answers

Answered by theking20
0

Real is not a correct variable type.

  • Int, float, and double all three are types of variables but there are no variable names as real.
  • Data type, in order, is a system that determines what type of variable value it has and what kind of mathematical, related, or logical functions can be used without creating an error. A character unit, for example, is a type of data used to divide the text and a whole number is a type of data used to divide whole numbers.
  • The data type describes which functions can be safely performed to create, modify and apply variables in other calculations. If a programming language requires flexibility to be used only in ways that respect its data type, that language is said to be typed.
Answered by brainlysme9
0

Real is the incorrect variable type.

The real constant is also known as a floating-point constant since it contains a decimal point. We can't use real because it isn't declared in the header file; only float is.

Similar questions