C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} None of These Compiler Error GOOD GOOD BAD None of These Compiler Error GOOD GOOD BAD ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} void fun(int *p[3][4]){} void fun(int *p[][4]){} void fun(int p[][4]){} void fun(int *p[4]){} None of these void fun(int *p[3][4]){} void fun(int *p[][4]){} void fun(int p[][4]){} void fun(int *p[4]){} None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} -1 1 -1 1 1 -1 -1 complier error 1 -1 1 -1 1 1 -1 -1 complier error 1 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);} C NOITANIMAXE C Syntax error No output at all. NOITANIMAXE C NOITANIMAXE C Syntax error No output at all. NOITANIMAXE ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? strstr() strchr() strrchr() None of these strnset() strstr() strchr() strrchr() None of these strnset() ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of conditional compilation Acts before compilation All of these Takes care of macros Takes care of include files Takes care of conditional compilation Acts before compilation All of these Takes care of macros Takes care of include files ANSWER DOWNLOAD EXAMIANS APP