C Programming Which of the following function is more appropriate for reading in a multi-word string? printf() None of these scanf() gets() puts() printf() None of these scanf() gets() puts() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Some address will be printed. Error None of these. Will make an infinite loop. Some address will be printed. Error None of these. Will make an infinite loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} 1 Error 100 1 Error 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 50 None of These Compiler Error 10 50 None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} No output at all. C NOITANIMAXE Syntax error NOITANIMAXE C No output at all. C NOITANIMAXE Syntax error NOITANIMAXE C 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 GOOD None of These GOOD BAD Compiler Error GOOD None of These ANSWER DOWNLOAD EXAMIANS APP