C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 4..2 2..2 4..4 2..4 4..2 2..2 4..4 2..4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It cannot be applied to an expression It associates from the right The operand can come before or after the operator It is a unary operator All of these It cannot be applied to an expression It associates from the right The operand can come before or after the operator It is a unary operator All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 4 3 2 1 Infinite Loop Compilation Error None of these 5 5 5 5 5 5 4 3 2 1 Infinite Loop Compilation Error None of these 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 13 12 14 15 Garbage Value 13 12 14 15 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} p q Depends on the compiler nullp nullq x nullq where x can be p or nullp depending on the value of NULL p q Depends on the compiler nullp nullq x nullq where x can be p or nullp depending on the value of NULL ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Editing During Execution During linking None of these During Preprocessing During Editing During Execution During linking None of these During Preprocessing ANSWER DOWNLOAD EXAMIANS APP