C Programming Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} 4 None of These 16 64 4 None of These 16 64 ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. Makes the debugging task easier. All of these Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. Helps to avoid repeated programming across programs. Makes the debugging task easier. All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 16 -1 19 17 20 16 -1 19 17 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int n{} = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; 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 BAD Compiler Error None of These GOOD GOOD BAD Compiler Error None of These GOOD ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of these. Compilation Error will print Hello World will print garbage value None of these. Compilation Error will print Hello World will print garbage value ANSWER DOWNLOAD EXAMIANS APP