C Programming Determine Output:void main(){ int i=5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45545 54554 54544 55445 45545 54554 54544 55445 ANSWER DOWNLOAD EXAMIANS APP
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; }} Error None of These three zero Error None of These three zero ANSWER DOWNLOAD EXAMIANS APP
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);} 3 7 7 3 3 8 8 3 None of these 3 7 7 3 3 8 8 3 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 5 6 7 1 2 3 4 Syntax error 4 Runtime error 4 5 6 7 1 2 3 4 Syntax error 4 Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 3 1 0 0 1 2 0 0 0 0 2 1 0 0 1 3 0 0 0 1 3 1 0 0 1 2 0 0 0 0 2 1 0 0 1 3 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World Compilation Error None of these. will print garbage value will print Hello World Compilation Error None of these. will print garbage value ANSWER DOWNLOAD EXAMIANS APP