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:

The process of correcting errors in a program:
________ is critical in formulating data base design.
Which are the two of the most commonly used languages for CGI Common Gateway Interface scripts?
What is an abstract class in OOP?
പ്രോഗ്രാമിംഗ് ഭാഷയുടെ നിയമങ്ങൾ അല്ലെങ്കിൽ വാക്യഘടന പാലിക്കാത്തത് കൊണ്ട് സംഭവിക്കുന്ന തെറ്റുകൾ അറിയപ്പെടുന്നത് ?