C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 2..4 2..2 4..4 4..2 2..4 2..2 4..4 4..2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} No output at all. NOITANIMAXE Syntax error C NOITANIMAXE C No output at all. NOITANIMAXE Syntax error C NOITANIMAXE C 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 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 10, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 10 Runtime error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 10, 10 Syntax error 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);} 14 Compilation error 12 13 11 14 Compilation error 12 13 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? int funct(int x) { return x=x+1; } None of these void funct(x) { printf(“Hello"); } int funct(); void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these void funct(x) { printf(“Hello"); } int funct(); void funct(int) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } Compiler Error None of these Linking error 3 hello Compiler Error None of these Linking error 3 hello ANSWER DOWNLOAD EXAMIANS APP