Computer Science, asked by harishmakm1997, 1 year ago

difference between stdio.h and conio.h

Answers

Answered by Shiva2111
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. 

Similar questions