GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
2. | What will you do to treat the constant 3.14 as a long double? | |
A. | use 3.14LF | |
B. | use 3.14DL | |
C. | use 3.14L | |
D. | use 3.14LD | |
Answer: Option C | |
Explanation: | |
Given 3.14 is a double constant. To specify 3.14 as long double, we have to add L to the 3.14. (i.e 3.14L) |
|
Tutorial Link: |