C Programming C preprocessor Acts before compilation Takes care of conditional compilation All of these Takes care of macros Takes care of include files Acts before compilation Takes care of conditional compilation All of these Takes care of macros Takes care of include files ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It is a unary operator The operand can come before or after the operator All of these It cannot be applied to an expression It associates from the right It is a unary operator The operand can come before or after the operator All of these It cannot be applied to an expression It associates from the right ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } int funct(); None of these int funct(int x) { return x=x+1; } void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } int funct(); None of these int funct(int x) { return x=x+1; } ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 2 4 4 5 5 5 2 5 5 2 4 5 2 4 4 5 5 5 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 5 5 5 5 Infinite Loop 5 4 3 2 1 None of These 5 5 5 5 5 Infinite Loop 5 4 3 2 1 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 0 0 0 0 5 4 3 2 1 None of These Infinite Loop 0 0 0 0 5 4 3 2 1 None of These Infinite Loop ANSWER DOWNLOAD EXAMIANS APP