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; } Linker Error : Undefined symbol 'i' Depends on the Compiler 4 2 Linker Error : Undefined symbol 'i' Depends on the Compiler 4 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2 2 2 2 2 2 3 4 6 5 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 2 2 2 2 2 3 4 6 5 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); Syntax error 0123456789 Infinite loop 10 0 Syntax error 0123456789 Infinite loop 10 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 0713 0289 1289 Syntax error 713 0713 0289 1289 Syntax error 713 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 20 21 20 10 10 11 11 10 20 21 10 10 20 21 21 10 20 21 20 10 10 11 11 10 20 21 10 10 20 21 21 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? None of these int funct(); int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } None of these int funct(); int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP