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 / sudhir tiwari

# 3 getch() returns to the program after hitting any key.
getche() waits for the character, read it and then returns
to the program

Is This Answer Correct ?    21 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a pointer and how it is initialized?

1077


State the difference between x3 and x[3].

1051


What is int main () in c?

1024


What will be your course of action for a push operation?

1047


What is calloc malloc realloc in c?

1008


What are the data types present in c?

1088


What does the characters “r” and “w” mean when writing programs that will make use of files?

1420


What is uint8 in c?

1052


What is array of pointers to string?

996


Explain what are the different data types in c?

1156


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

1052


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15722


In which header file is the null macro defined?

1301


What is the difference between a function and a method in c?

1027


Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer

4302