Home /
Expert Answers /
Computer Science /
which-one-is-the-correct-answer-with-solution-f-which-function-is-used-to-read-character-as-you-t-pa567
(Solved): which one is the correct answer with solution: (f) Which function is used to read character as you t ...
which one is the correct answer with solution:
(f) Which function is used to read character as you type? (A) getchar() (B) getch() (C) getche() (D) both (B) and (C) (g) What will be the output? void main ( ) \{ char a[]= "INFO" ; a+t; printf("\n \%s", a); \} (A) Error (B) INFO (C) NFO (D) None of these (h) What will be the output? \#define SQUARE (X)X?X void main ( ) \{ printf("\n Square =%d",SQUARE(10+2)); \} (A) Square =144 (B) Square =32 (C) Square =122 (D) Square =12 (i) The operator + in a+=4 means (A) a=a+4 (B) a+4=a (C) a=4 (D) a=4+4