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; } 2 Depends on the Compiler 4 Linker Error : Undefined symbol 'i' 2 Depends on the Compiler 4 Linker Error : Undefined symbol 'i' ANSWER DOWNLOAD EXAMIANS APP
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. Equal Error Unequal None of these. Equal Error Unequal ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 5 4 3 2 1 None of These Infinite Loop 0 0 0 0 5 4 3 2 1 None of These Infinite Loop 0 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmm nnn aaa Compiler Error mmmm nnnn aaaa None of These mmm nnn aaa Compiler Error mmmm nnnn aaaa None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); 9 10 11 12 13 Infinite loop None of these 10 11 12 13 14 10 11 12 13 14 15 9 10 11 12 13 Infinite loop None of these 10 11 12 13 14 10 11 12 13 14 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? / % + None of these * / % + None of these * ANSWER DOWNLOAD EXAMIANS APP