Electronics and Communication Engineering - Microprocessors - Discussion
Discussion Forum : Microprocessors - Section 1 (Q.No. 45)
45.
Consider the following C program int ram
Now consider the following statements about this program
float alpha, gamma
ram = 6400
alpha = 0.562
gamma = alpha * ram + 1
Now consider the following statements about this program
- ram is an integer variable
- alpha, gamma are real variables
- *, + are arithmetic operators
- 0.562 may be an integer constant or real constant
Answer: Option
Explanation:
0.562 is not an integer constant.
Discussion:
1 comments Page 1 of 1.
Sirelaw said:
9 years ago
But ram was not declared.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers