MCQOPTIONS
Saved Bookmarks
| 1. |
Point out error in the following code - #include<stdio.h> int main() { int x = 50, y = 100; if(x = = y) printf("x is equal to y\n"); else if(x > y) printf("x is greater than y\n"); else if(x < y) printf("x is less than y\n")l return 0; } |
| A. | Error: R-Value Required |
| B. | Error: Statement missing Semicolon |
| C. | Error: Expression syntax |
| D. | Error: L-Value Required |
| Answer» E. | |