Sail E0 Webinar
Question

By default, the data type of a constant without a decimal point is int, whereas the one 

with a decimal point is a double.


Options:
A .  Yes
B .  No
Answer: Option A

6 is int constant. 
6.68 is double. 
6.68L is long double constant. 
6.68f is float constant. 



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers