Difference BW Stdio & Conio
Difference BW Stdio & Conio
The
header files store different predefined functions or macro which are required to
solve different coding problems.
It is used for the printf() and scanf(),it lets us use these functions .
printf();
scanf();
Note:-
�conio.h� is an ugly hack for MS-DOS & Turbo Pascal. It�s 20 years obsolete.
STDIO.H is short name of Standard Input & Output Header file while the CONIO.H
stands for Console Input & Output.Header file.
STDIO.H includes basic functions like printf() (to print on screen), scanf() (used
to take input from user) etc while CONIO.H includes functions like clrscr() (Clears
the Screen), getch() (it holds the screen until and input from keyboard is
received)
conio.h header file isn't used anymore. It was used in old Turbo C compiler which
are 16-bit and all your programs run virtually on 8086 microprocessor.
On the other hand, conio.h is short for console input and output and is not a
standard c library. So, it only deals with console.
Answered Aug 10
Stdio. h is used as a standard input output library, i. e. all the input and output
functions like printf is defined in stdio. h
Whereas conio. h is used for console(the black dialog box) used to display the
output, without this header file we will not be able to get the console output.