0 like 0 dislike
28 views
in Computer Science by (1.0m points)
How you can character input in C language also explain getch and getche function.

1 Answer

0 like 0 dislike
by (1.0m points)
getche() function is a function in C programming language which waits for any character input from keyboard and it will also echo the input character on to the output screen. Please find below the description and syntax for above file handling function.

This is a simple Hello World! C program. After displaying Hello World! in output screen, this program waits for any character input from keyboard. After any single character is typed/pressed, this program returns 0. But, please note that, getche() function will wait for any keyboard input (and press ENTER) and it will display the given input character on output screen immediately after keyboard input is entered.

Related questions

0 like 0 dislike
1 answer 19 views
0 like 0 dislike
1 answer 176 views
0 like 0 dislike
1 answer 15 views
0 like 0 dislike
1 answer 91 views
0 like 0 dislike
1 answer 182 views
0 like 0 dislike
1 answer 73 views
0 like 0 dislike
0 answers 35 views
0 like 0 dislike
1 answer 15 views
Welcome to Free Homework Help, where you can ask questions and receive answers from other members of the community. Anybody can ask a question. Anybody can answer. The best answers are voted up and rise to the top. Join them; it only takes a minute: School, College, University, Academy Free Homework Help

19.4k questions

18.3k answers

8.7k comments

3.3k users

Free Hit Counters
...