App Logo

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:

_______ is a set of operations on RDBMS that allows retrieval of data.
Protocol used by WWW:

Which of the following statement is /are correct about member functions in a C++ Class?

(i)A member function is defined only outside the class

(ii)A member function with the same name as its class is called a constructor

(iii)A member function operate on class data

Which of the following is true about PHP?
സ്വതന്ത്ര കമ്പ്യൂട്ടർ ഭാഷയായ പൈത്തൺ രൂപകൽപ്പന ചെയ്തത് ആരുടെ നേതൃത്വത്തിലാണ് ?