You are not logged in.

#1 2015-05-25 09:29:32

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

C Language Quiz:

Question:
How to read a character from the keyboard and will store it in the variable a.

Option A):
a = getchar();
Option B):
getchar( &a )
Option C):
getc( &a );
Option D):
a = getchar( stdin );

Correct Answer is Option A):
a = getchar();


Failure is the first step towards seccess.

2015-05-25 09:29:32

Advertisement
Ads By Google

Re: C Language Quiz:



\n

Board footer