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 use of getch() function in C program..
difference b/w getch() and getche()??

Answer Posted / abhinav

getch() waits for the user to input a character and
displays the output till the user enters a character.As
soon as the user enters a character it transfers the
control back to the main function, without displaying what
character was entered.
getche() does the same thin but it displays the chacter
entered.here e stands for echo.

Is This Answer Correct ?    191 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between c &c++?

1105


What is const and volatile in c?

1002


What is getch c?

1259


What is a pragma?

1092


Explain what are preprocessor directives?

1029


Is it better to use malloc() or calloc()?

1085


What is #include stdio h?

1075


what will be maximum number of comparisons when number of elements are given?

1864


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1689


what is event driven software and what is procedural driven software?

2518


Explain the difference between malloc() and calloc() in c?

1018


What is scope and lifetime of a variable in c?

1008


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5910


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1693


Explain what does a function declared as pascal do differently?

1237