answersLogoWhite

0

Why getch function has semicolen?

Updated: 8/10/2023
User Avatar

Wiki User

10y ago

Best Answer

Without the semi-colon, getch is just an expression, not a statement.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

You must have misunderstood something.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why getch function has semicolen?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you accept a string by using getch() function with an example?

explain about function call


What is function get in C programming?

There is no 'get' in the standard libraries, but for 'getc', 'getch', 'getchar', 'fgetc' etc you can find useful information in the help/manual.


Is there any keyword in c or c plus plus like the function inkey in qbasic?

Using TurboC? kbhit and getch are your friends


How do youuse the 'long' function in turbo c?

#include #include void main() { long 11; clrscr(); cout<<"size of long="< getch(); }


How do you read a character from the keyboard and will store it in the variable?

Use the scanf() function from the C standard library.

Related questions

How do you accept a string by using getch() function with an example?

explain about function call


What is the function key that is used to display the result in the output screen?

getch();


What use getch function in c language?

Gets one character (or keystroke) without buffering or echoing; beware: getch is not part of the standard library.


What is the function of getche in programming c?

Function getche is Borland-specific function declared in conio.h, it does the some thing as getch, but echoes the character on the screen.


What is the use of getch in C programming?

We use getch() function to hold the screen so that we can see the output but in real it is use to take a input of a character from the console window. Read this out -


Why getch function are used?

Getting a character. Whenever you have a question regarding a function, you may use your system's help/manual system.


What will you use if getch is only for char how about if int?

Function scanf for example. Or, for advanced users: fgets+sscanf


What is function get in C programming?

There is no 'get' in the standard libraries, but for 'getc', 'getch', 'getchar', 'fgetc' etc you can find useful information in the help/manual.


Is there any keyword in c or c plus plus like the function inkey in qbasic?

Using TurboC? kbhit and getch are your friends


What does conioh in programming mean?

conio.h is a library function which is predefined in the header file and 'clrscr();','getch();' and many other functions come under this.


How do youuse the 'long' function in turbo c?

#include #include void main() { long 11; clrscr(); cout<<"size of long="< getch(); }


How do you read a character from the keyboard and will store it in the variable?

Use the scanf() function from the C standard library.