ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
what is the use of getch() function in C program..
difference b/w getch() and getche()??
 Question Submitted By :: Ravinder
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the use of getch() function in C program.. difference b/w getch() and getche()??
Answer
# 1
getch() is for waiting the o/p screen til we enter the inputs
 
Is This Answer Correct ?    48 Yes 11 No
Rahul
 
  Re: what is the use of getch() function in C program.. difference b/w getch() and getche()??
Answer
# 2
getch() is the function to see the out put but getch()??
is used to examin the out put
 
Is This Answer Correct ?    22 Yes 15 No
Vbr
 
 
 
  Re: what is the use of getch() function in C program.. difference b/w getch() and getche()??
Answer
# 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 ?    27 Yes 3 No
Sasireka
 
  Re: what is the use of getch() function in C program.. difference b/w getch() and getche()??
Answer
# 4
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 ?    31 Yes 4 No
Abhinav
 
  Re: what is the use of getch() function in C program.. difference b/w getch() and getche()??
Answer
# 5
getch() is used to read the character,
but getche()is used to read and display character on output.
 
Is This Answer Correct ?    10 Yes 6 No
Phani
 
  Re: what is the use of getch() function in C program.. difference b/w getch() and getche()??
Answer
# 6
getch() is used to wait the execution of program on console 
unless program will skeep the output witout showing on 
console of program in short it all time to user to see 
output during the run time of program
 
Is This Answer Correct ?    13 Yes 4 No
Sachin Banaya
 
  Re: what is the use of getch() function in C program.. difference b/w getch() and getche()??
Answer
# 7
What is a meaning of initgraph in C ......
 
Is This Answer Correct ?    4 Yes 11 No
Padma
 
  Re: what is the use of getch() function in C program.. difference b/w getch() and getche()??
Answer
# 8
if u uses gcc u find it good for nothing ..........
 
Is This Answer Correct ?    1 Yes 13 No
Vijay
 
  Re: what is the use of getch() function in C program.. difference b/w getch() and getche()??
Answer
# 9
getch() represent in c program to receive value in input 
integer and terminate the whole program.
 
Is This Answer Correct ?    8 Yes 5 No
Satish Dwivedi
 
  Re: what is the use of getch() function in C program.. difference b/w getch() and getche()??
Answer
# 10
# 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 ?    10 Yes 2 No
Sudhir Tiwari
 
  Re: what is the use of getch() function in C program.. difference b/w getch() and getche()??
Answer
# 11
getch() helps in holding the console screen and helps in reading the codes properly
 
Is This Answer Correct ?    4 Yes 2 No
Rashmi
 
  Re: what is the use of getch() function in C program.. difference b/w getch() and getche()??
Answer
# 12
getch() and getche()
both are getting input charecter to user
but getche() display the that charecter to screen
 
Is This Answer Correct ?    0 Yes 0 No
Svmurali
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
What is an anonymous union and where to apply that ? HP3
if a person is buying coconuts of Rs10,and then sell that coconuts of Rs9,with the loss of one rupee.After that the person became a millaniore.how? Wipro5
What kind of sorting is this? SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,........n-1 2.[For each pass,get small value] min=i; repeat for j=i+1 to N do { if K[j]<k[min] min=j; } temp=K[i];K[i]=K[min];K[min]=temp; 3.[Sorted Values will be returned] A)Bubble Sort B)Quick Sort C)Selection Sort D)Merge Sort Accenture3
What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }  2
create an SINGLE LINKED LISTS and reverse the data in the lists completely  3
int *a[5] refers to TCS8
what is the difference between <stdio.h> and "stdio.h" Kanbay5
how to find the size of the data type like int,float without using the sizeof operator?  7
what is compiler  5
Why is conio.h not required when we save a file as .c and use clrscr() or getch() ?  2
what is the difference between declaration and definition of a variable or function ?  2
Which of the following about automatic variables within a function is correct ? a.its type must be declared before using the variable b.they are local c.they are not initialised to zero d.they are global. TCS3
YBJBU6  1
Convert the following expression to postfix and prefix X $ Y Z - M + N + P / Q / (R + S)  2
Which of the following is not a valid declaration for main ()? 1) int main() 2) int main(int argc, char *argv[]) 3) They both work  2
int arr[] = {1,2,3,4} int *ptr=arr; *(arr+3) = *++ptr + *ptr++; Final contents of arr[] Hughes4
what is the use of fflush() function?  1
dibakar & vekatesh..uttejana here..abt ur reply for in place reversal of linked list..wats p stands for there?  1
int *p=20; if u print like dis printf("%d",p); o\p:- 20; how is it possible? plz give me the explanation. Global-Edge11
what is the code for getting the output as * ** *** Caritor5
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com