C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 5 5 5 5 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 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 Runtime error Syntax error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Runtime error Syntax error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values 0 0 0 Error 1 1 1 garbage values 0 0 0 Error 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 30 50 None of these 10 15 30 50 None of these 10 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 10..50 Error 10..10 0 10..50 Error 10..10 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command has # as the first character need not start on a new line need not start on the first column comes before the first executable statement has # as the first character need not start on a new line need not start on the first column comes before the first executable statement ANSWER DOWNLOAD EXAMIANS APP