C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi hi followed by garbage value Error Garbage Value h hi hi followed by garbage value Error Garbage Value h ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 65 65 065 65 53 65 053 65 Syntax error 65 65 065 65 53 65 053 65 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); 9 10 11 12 13 Infinite loop None of these 10 11 12 13 14 15 10 11 12 13 14 9 10 11 12 13 Infinite loop None of these 10 11 12 13 14 15 10 11 12 13 14 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? break skip continue None of these resume break skip continue None of these resume ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? pow(x, 2) sqr(x) power(2, x) power(x, 2) pow(2, x) pow(x, 2) sqr(x) power(2, x) power(x, 2) pow(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 12 11 10 15 12 11 10 15 ANSWER DOWNLOAD EXAMIANS APP