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 5 7 Compiler Error 0 6 5 7 Compiler Error 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} None of these 65474, 65488 65480, 65488 65474, 65476 65480, 65496 None of these 65474, 65488 65480, 65488 65474, 65476 65480, 65496 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 12 11 13 14 Compilation error 12 11 13 14 Compilation error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 33 -1 Compilation Error 1 0 33 -1 Compilation Error 1 0 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 2 0 0 0 1 3 0 0 0 0 2 1 0 0 1 3 1 0 0 1 2 0 0 0 1 3 0 0 0 0 2 1 0 0 1 3 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} Garbage Value 2 0 None of These Garbage Value 2 0 None of These ANSWER DOWNLOAD EXAMIANS APP