C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Ok here None of These Error Forget it Ok here None of These Error Forget it ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) power(2, x) sqr(x) pow(2, x) pow(x, 2) power(x, 2) power(2, x) sqr(x) pow(2, x) pow(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. II, III and IV I, II and III I and II II and III I, II, III and IV II, III and IV I, II and III I and II II and III I, II, III and IV 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 None of These GOOD BAD Compiler Error GOOD None of These GOOD BAD Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 11 10, 10 11, 10 10, 11 11, 11 10, 10 11, 10 10, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Acts before compilation Takes care of conditional compilation Takes care of macros Takes care of include files All of these Acts before compilation Takes care of conditional compilation Takes care of macros Takes care of include files All of these ANSWER DOWNLOAD EXAMIANS APP