C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} three Error zero None of These three Error zero None of These 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. I and III II and IV II and III III and IV I and II I and III II and IV II and III III and IV I and II ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 6 0 7 Compiler Error 5 6 0 7 Compiler Error 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command comes before the first executable statement need not start on a new line has # as the first character need not start on the first column comes before the first executable statement need not start on a new line has # as the first character need not start on the first column ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 45445 54554 45545 54544 45445 54554 45545 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 1 1 2 2 1 1 2 3 0 1 2 3 0 1 2 2 None of these 1 1 2 2 1 1 2 3 0 1 2 3 0 1 2 2 None of these ANSWER DOWNLOAD EXAMIANS APP