C Programming - Declarations and Initializations - Discussion
Discussion Forum : Declarations and Initializations - Point Out Correct Statements (Q.No. 3)
3.
Which of the following correctly represents a long double constant?
Answer: Option
Explanation:
6.68 is double.
6.68L is long double constant.
6.68f is float constant.
6.68LF is not allowed in c.
Discussion:
6 comments Page 1 of 1.
Sandeep said:
1 decade ago
Then for long int ?
Sandeep said:
1 decade ago
ld for long integer
Samir said:
1 decade ago
Lf is for long double. Is it correct?
Sree said:
1 decade ago
LF is long float. It's not in C.
Nutan said:
9 years ago
In books 'lf' is used for double. Is it correct?
(1)
Priya said:
7 years ago
How to identify? Please explain in detail.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers