C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} Error 1 -2 2 Error 1 -2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Error None of these. Some address will be printed. Will make an infinite loop. Error None of these. Some address will be printed. Will make an infinite loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? 2 Program do no return a value. -1 1 2 Program do no return a value. -1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} None of these Infinite Loop Compilation Error 5 5 5 5 5 5 4 3 2 1 None of these Infinite Loop Compilation Error 5 5 5 5 5 5 4 3 2 1 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);} 11 13 14 Compilation error 12 11 13 14 Compilation error 12 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);} 65474, 65476 65480, 65488 None of these 65474, 65488 65480, 65496 65474, 65476 65480, 65488 None of these 65474, 65488 65480, 65496 ANSWER DOWNLOAD EXAMIANS APP