Monday, August 13, 2018
A sample C Program
//Standard input/output header file use certain commands for input or output which use in program. For
instance it has commands for input like reading from the keyboard and output commands like printing
things on the screen.
// Console input/output the most commonly used functions of conio.h are clrscr, getch etc. Functions of conio.h
can be used to clear screen, change color of text and background, move text, check if a key is pressed or not
and many more.
void main() //Every program must have a main(). It is the starting point of every program.
// Comments after double slash
getch(); // It is used to hold the screen in simple language.