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...

what is the difference between getch() and getchar()?

Answer Posted / shruti

@Nishi
the answer you have posted is wrong..

Getch() and getchar() are two inbuilt functions..

in getch()
the argument to the function is any key on the keyboard,
not necessarily be a character (A - Z).

getchar()
the argument is a character -> alphabet (A - Z)..

Is This Answer Correct ?    76 Yes 43 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of C instructions?

1320


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

1188


What is the difference between a free-standing and a hosted environment?

1148


how to create duplicate link list using C???

2561


What is declaration and definition in c?

1100


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

3265


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3975


What is meant by operator precedence?

1154


Where define directive used?

1097


Why flag is used in c?

1134


Describe newline escape sequence with a sample program?

1123


Why c is a procedural language?

1068


Explain what is the purpose of "extern" keyword in a function declaration?

1075


How can you pass an array to a function by value?

1125


In C language what is a 'dangling pointer'?

1163