C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} None of these. Error Unequal Equal None of these. Error Unequal Equal 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; }} None of These GOOD Compiler Error GOOD BAD None of These GOOD Compiler Error GOOD BAD ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns None of these -1 1 true 0 None of these -1 1 true 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} None of These 11 13 12 None of These 11 13 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? It will not compile because not enough initializers are given 6 12 24 7 It will not compile because not enough initializers are given 6 12 24 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } Depends on the Compiler 4 Linker Error : Undefined symbol 'i' 2 Depends on the Compiler 4 Linker Error : Undefined symbol 'i' 2 ANSWER DOWNLOAD EXAMIANS APP