MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the following C program int ramfloat alpha, gammaram = 6400alpha = 0.562gamma = alpha * ram + 1Now consider the following statements about this program1. ram is an integer variable2. alpha, gamma are real variables3. *, + are arithmetic operators4. 0.562 may be an integer constant or real constantWhich of the above are correct? |
| A. | All |
| B. | 1, 2, 3 only |
| C. | 2, 3, 4 only |
| D. | 1, 2, 4 only |
| Answer» C. 2, 3, 4 only | |