C Programming Which of the following function is more appropriate for reading in a multi-word string? gets() None of these printf() scanf() puts() gets() None of these printf() scanf() puts() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World Can't Say None of These Compiler Error will print Hello World Can't Say None of These Compiler Error 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 Compiler Error GOOD BAD GOOD None of These Compiler Error GOOD BAD ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 5 5.600000 Complier error 6 5.600000 0 5.600000 5 5.600000 Complier error 6 5.600000 0 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} 65480, 65488 65474, 65488 65474, 65476 None of these 65480, 65496 65480, 65488 65474, 65488 65474, 65476 None of these 65480, 65496 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 6 8 No output Runtime error Syntax error 6 8 No output Runtime error Syntax error ANSWER DOWNLOAD EXAMIANS APP