C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 100 Error 0 1 100 Error 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? All of these It cannot be applied to an expression The operand can come before or after the operator It associates from the right It is a unary operator All of these It cannot be applied to an expression The operand can come before or after the operator It associates from the right It is a unary operator ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=MVEDA y=EXAMIANS y=AMVEDA y=VEDA y=EDA y=MVEDA y=EXAMIANS y=AMVEDA y=VEDA y=EDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} GOOD BAD None of These GOOD Compiler Error GOOD BAD None of These GOOD Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} 13 11 12 None of These 13 11 12 None of These ANSWER DOWNLOAD EXAMIANS APP