C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} b = 4, c = 6 a = 4, c = 8 b = 3, c = 6 a = 3, c = 8 a = 4, c = 6 b = 4, c = 6 a = 4, c = 8 b = 3, c = 6 a = 3, c = 8 a = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? Garbage Value 1 3 2 0 Garbage Value 1 3 2 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} Compilation error 13 12 11 14 Compilation error 13 12 11 14 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();} Compilation Error 5 4 3 2 1 5 5 5 5 5 None of these Infinite Loop Compilation Error 5 4 3 2 1 5 5 5 5 5 None of these Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);} 65486, 65488 65486, 65486 65486, 65490 65486, 65487 None of these 65486, 65488 65486, 65486 65486, 65490 65486, 65487 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} %d\n Error None of These 300 %d\n Error None of These 300 ANSWER DOWNLOAD EXAMIANS APP