Challenger App

No.1 PSC Learning App

1M+ Downloads
In C language, the getchar function is used to :

APrint the ASCII code of a character

BTo assign a character typed at the keyboard to a variable

CTo print a character on the screen

DAll of them

Answer:

B. To assign a character typed at the keyboard to a variable


Related Questions:

MDI stands for:
_____________ is the correct syntax of IF( ) Function:
Suppose you are currently in C drive and want to switch to D drive, the command for this is :
_______ ന്റെ ചിത്ര ആവിഷ്‌കാരണമാണ് ഫ്ളോചാർട്ട് .
The method of making a programme error free :