Which one is the valid real constant? (A) 85.46 (B) 85 (C) 0.85 (D) Both a and c
Answers
the valid real constant Both a and c
Answer:
The correct answer to this question is Both a and c.
Explanation:
Given - The valid real constant.
To Find - Which one is the valid real constant?
Both a and c is the valid real constant.
There must be one digit in a real constant. There has to be a decimal point. It could be either favorable or unfavorable. The sign is positive by default. The fractional value and decimal point are both present in the real constant. These real constants are acceptable in "C."
A true constant is made up of a whole integer, a decimal point, and a fractional component. For instance, 0.0083 -0.75. 95 215 To represent values that change constantly, such as lengths, heights, temperatures, prices, and so forth, integer numbers are inadequate.
#SPJ2