Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

which one of follwoing will read a character from keyboard
and store in c
a)c=getc()
b)c=getchar()
c)c=getchar(stdin)
d)getc(&c)
e)none

Answer Posted / moolshankershukla

first define :
char c;
printf("enter character ");
c=getchar();

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between Shallow copy and Deep copy?

2026


List some of the static data structures in C?

1202


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

1254


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1114


How do c compilers work?

1141


Explain the process of converting a Tree into a Binary Tree.

2671


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

1218


Tell me when is a void pointer used?

1185


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

2361


What is the difference between functions getch() and getche()?

1098


Why do we use & in c?

1006


What is the full form of getch?

1284


What is the equivalent code of the following statement in WHILE LOOP format?

1307


How to get string length of given string in c?

1067


write a program to copy the string using switch case?

2907