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 = 6 a = 3, c = 8 b = 4, c = 6 a = 4, c = 8 b = 3, c = 6 a = 4, c = 6 a = 3, c = 8 b = 4, c = 6 a = 4, c = 8 b = 3, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} make an infinite loop Some address will be printed Error None of These make an infinite loop Some address will be printed Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns None of these 0 -1 1 true None of these 0 -1 1 true ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Helps to avoid repeated programming across programs. Makes the debugging task easier. Enhances the logical clarity of the program. All of these Helps to avoid repeating a set of statements many times. Helps to avoid repeated programming across programs. Makes the debugging task easier. Enhances the logical clarity of the program. All of these Helps to avoid repeating a set of statements many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is an pointer to array ptr is a pointer to an array of 10 integers ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is an pointer to array ptr is a pointer to an array of 10 integers ptr is array of pointers to 10 integers ptr is an array of 10 integers 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));} Syntax error 100 Runtime error g##g2 10012 Syntax error 100 Runtime error g##g2 10012 ANSWER DOWNLOAD EXAMIANS APP