C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45445 54554 54544 45545 45445 54554 54544 45545 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage value 0 0 0 Code will not compile Garbage vlaue Garbage Value 0 Garbage Value Garbage value 0 0 0 Code will not compile Garbage vlaue Garbage Value 0 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} None of These i = 1, +i = 1 i = -1, +i = -1 i = -1, +i = 1 None of These i = 1, +i = 1 i = -1, +i = -1 i = -1, +i = 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} C Syntax error NOITANIMAXE NOITANIMAXE C No output at all. C Syntax error NOITANIMAXE NOITANIMAXE C No output at all. ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} Runtime error Syntax error g##g2 10012 100 Runtime error Syntax error g##g2 10012 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? start() system() printf() getch() main() start() system() printf() getch() main() ANSWER DOWNLOAD EXAMIANS APP