C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} 3 2 1 infinity loop no output 3 2 1 0 3 2 1 infinity loop no output 3 2 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop None of These 5 4 3 2 1 5 5 5 5 5 Infinite Loop None of These 5 4 3 2 1 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; 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 ptr is a pointer to an array of 10 integers ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Syntax error Runtime error 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Syntax error Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } None of these. Hello H Some address will be printed None of these. Hello H Some address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 65 65 53 65 Syntax error 065 65 053 65 65 65 53 65 Syntax error 065 65 053 65 ANSWER DOWNLOAD EXAMIANS APP