C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } None of these. Error Some address will be printed. Will make an infinite loop. None of these. Error Some address will be printed. Will make an infinite loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi Error hi followed by garbage value Garbage Value h hi Error hi followed by garbage value Garbage Value h ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? resume None of these break skip continue resume None of these break skip continue ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions 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. Helps to avoid repeated programming across programs. Makes the debugging task easier. Enhances the logical clarity of the program. All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} GOOD GOOD BAD None of These Compiler Error GOOD GOOD BAD None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? It will not compile because not enough initializers are given 6 24 12 7 It will not compile because not enough initializers are given 6 24 12 7 ANSWER DOWNLOAD EXAMIANS APP