Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
C
« Previous
Next »
Can getch() be used to echo the input?
Options
- Yes
- No
CORRECT ANSWER : No
Discussion Board
getch()
-No, getch() function cannot used to echo the input. To echo() the input getche() function is used.
-getch() function is used to hold the output screen till you press any key from keyboard, while using Turbo C or CPP compiler.
-If you do not use this function, then also your program runs & output is printed on screen, but you cannot see output screen. At a time you can see output screen manually. (window --> user screen).
Sapna 02-15-2017 03:54 AM
getch() in c
getch() is used to get a character from console but does not echo to the screen.
Sudeepta Roy 11-2-2016 02:03 PM
No
getch() used to hold the compiler to read the next line the next line will not execute until it gets a character as an input.
Sahil Masroor 11-17-2014 11:58 PM
A option is correct
i dont know the
anonymous 09-26-2014 01:28 PM
getch() in C
And related to the question above, I would add that if you want an echoed input you must use getche().
Bye.
Federico 04-26-2014 01:14 PM
getch() in C
- This function prompts the user to press a character which is not printed on the screen.
- The header file of getch is conio.h
Aparna 07-5-2013 05:44 AM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
C test (42)
C (12)
C++ for beginners (10)
C++ (20)
C++ (24)
C++ (18)
C++ (14)
C++ (12)
C++ (15)
C++ (15)
Data structure (20)
Data structure (10)
Data structure (10)
Data structure (10)
PERL (25)
VC++ (11)
Oops (30)
Mainframe (41)
Mainframe (15)
Embedded systems (15)
OOAD (49)
Advertisement
▲