C Programming - Control Instructions - Discussion
Discussion Forum : Control Instructions - Yes / No Questions (Q.No. 4)
4.
By default, the data type of a constant without a decimal point is int, whereas the one with a decimal point is a double.
Answer: Option
Explanation:
6 is int constant.
6.68 is double.
6.68L is long double constant.
6.68f is float constant.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers