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)); } Syntax error 1 2 3 4 4 4 5 6 7 Runtime error Syntax error 1 2 3 4 4 4 5 6 7 Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 45545 45445 54554 54544 45545 45445 54554 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} None of These 9 10 11 None of These 9 10 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 4 4 10 5 5 5 10 5 3 3 10 5 4 3 10 5 3 4 10 5 4 4 10 5 5 5 10 5 3 3 10 5 4 3 10 5 3 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam Veda Exam\0Veda None of these Exam Veda Exam Veda Exam\0Veda None of these Exam Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 2 a[1] = 3 Compilation error a[0] = 3 a[1] = 2 a[0] = 2 a[1] = 3 Compilation error a[0] = 3 a[1] = 2 ANSWER DOWNLOAD EXAMIANS APP