difference between stdio.h and conio.h
Answers
Answered by
1
They are basically two different Header Files and hence the extension “.h”. The header files store different predefined functions or macro which are required to solve different coding problems.
These header files serve different purposes:
stdio.h — It stands for standard I/O. It is basically used to access different macros, functions to perform input and output. Most common functions include: scanf() [used to read standard input] and printf() [ used to send formatted output]. For more info refer to the following link: C Library <stdio.h>
conio.h — it stands for console I/O. The most commonly used function is getch() which prompts the user to press a character and that character is not printed on screen.
These header files serve different purposes:
stdio.h — It stands for standard I/O. It is basically used to access different macros, functions to perform input and output. Most common functions include: scanf() [used to read standard input] and printf() [ used to send formatted output]. For more info refer to the following link: C Library <stdio.h>
conio.h — it stands for console I/O. The most commonly used function is getch() which prompts the user to press a character and that character is not printed on screen.
Similar questions