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; } Depends on the Compiler 4 Linker Error : Undefined symbol 'i' 2 Depends on the Compiler 4 Linker Error : Undefined symbol 'i' 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } Runtime error Syntax error 1 2 3 4 4 4 5 6 7 Runtime error Syntax error 1 2 3 4 4 4 5 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} Garbage Value 2 0 None of These Garbage Value 2 0 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? All of these It is a unary operator The operand can come before or after the operator It associates from the right It cannot be applied to an expression All of these It is a unary operator The operand can come before or after the operator It associates from the right It cannot be applied to an expression ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with An alphabet Both of the above A number A special symbol other than underscore An alphabet Both of the above A number A special symbol other than underscore 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);} Compilation error 13 12 11 14 Compilation error 13 12 11 14 ANSWER DOWNLOAD EXAMIANS APP