Declarations and Initializations

Q1: Which of the following correctly represents a long double constant?

A 6.68

B 6.68L

C 6.68f

D 6.68LF

ANS:B - 6.68L

6.68 is double.
6.68L is long double constant.
6.68f is float constant.
6.68LF is not allowed in c.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.