ALLInterview.com :: Home Page            
 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                      
Google
   
 
Categories >> Software >> Programming Languages >> C
 
 


 

 
 C interview questions  C Interview Questions (2248)
 C++ interview questions  C++ Interview Questions (1106)
 VC++ interview questions  VC++ Interview Questions (342)
 Delphi interview questions  Delphi Interview Questions (510)
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions (644)
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 ?    255 Yes 61 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 ?    74 Yes 100 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 ?    93 Yes 28 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 ?    176 Yes 20 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 ?    46 Yes 28 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 ?    33 Yes 13 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 ?    14 Yes 25 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 ?    6 Yes 32 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 ?    12 Yes 25 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 ?    20 Yes 12 No
Sudhir Tiwari
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
define switch statement? CTS 6
Whats wrong with the following function char *string() { char *text[20]; strcpy(text,"Hello world"); return text; } Qualcomm 3
Design a program using an array that searches a number if it is found on the list of the given input numbers and locate its exact location in the list.   4
what is software? wipro 5
Why doesn't C have nested functions?   2
what does ‘#include’ mean? TCS 1
Write a program to compare two strings without using the strcmp() function Accenture 40
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output? Wipro 1
Every time i run a c-code in editor, getting some runtime error and editor is disposing, even after reinstalling the software what may be the problem?   2
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.? Tcs 2
main() {int a=200*200/100; printf("%d",a); } TCS 14
who is first prime minister in india?? Wipro 8
 
For more C Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright © 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com