C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 8 a = 3, c = 8 b = 3, c = 6 a = 4, c = 6 b = 4, c = 6 a = 4, c = 8 a = 3, c = 8 b = 3, c = 6 a = 4, c = 6 b = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the best answer.Prior to using a pointer variable It should be both declared and initialized. It should be declared. It should be initialized. None of these. It should be both declared and initialized. It should be declared. It should be initialized. None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns None of these true 0 1 -1 None of these true 0 1 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Error None of these. Will make an infinite loop. Some address will be printed. Error None of these. Will make an infinite loop. Some address will be printed. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 1..1 0..0 1..0 0..1 1..1 0..0 1..0 0..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();} 5 5 5 5 5 Infinite Loop Compilation Error None of these 5 4 3 2 1 5 5 5 5 5 Infinite Loop Compilation Error None of these 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP