

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following statement are correct about the program given below?#include <stdio.h>int main ( ){ int a = 40, b = 50; if ( a == b ) printf ("a is equal to b n"); elseif (a > b) printf ("a is greater than b n"); elseif (a < b) printf ("a is less than b n"); return 0;} |
A. | Error: 'elseif is not a keyword in C' |
B. | Error: 'Expression syntax' |
C. | Error: 'L value required' |
D. | Error: 'R value requaired' |
Answer» B. Error: 'Expression syntax' | |