C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 20 20 20 Run time error 10 10 10 20 20 20 Run time error 10 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } None of these. Will make an infinite loop. Error Some address will be printed. None of these. Will make an infinite loop. Error Some address will be printed. 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; } 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 What does the following declaration mean?int (*ptr)[10]; ptr is a pointer to an array of 10 integers ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is an pointer to array ptr is a pointer to an array of 10 integers ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is an pointer to array ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} 12 Compilation error 13 11 14 12 Compilation error 13 11 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} ij!gsjfoet hj grjeodt hi friends None of These ij!gsjfoet hj grjeodt hi friends None of These ANSWER DOWNLOAD EXAMIANS APP