C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 8 3 None of these 3 7 3 8 7 3 8 3 None of these 3 7 3 8 7 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 2..4 4..4 4..2 2..2 2..4 4..4 4..2 2..2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 4 3 2 1 5 5 5 5 5 Compilation Error None of these Infinite Loop 5 4 3 2 1 5 5 5 5 5 Compilation Error None of these Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator has the lowest priority? + % || && ++ + % || && ++ ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. II and III I and II I and III III and IV II and IV II and III I and II I and III III and IV II and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ int char long float short int char long float short ANSWER DOWNLOAD EXAMIANS APP