C Programming - Library Functions - Discussion

2. 

Input/output function prototypes and macros are defined in which header file?

[A]. conio.h
[B]. stdlib.h
[C]. stdio.h
[D]. dos.h

Answer: Option C

Explanation:

stdio.h, which stands for "standard input/output header", is the header in the C standard library that contains macro definitions, constants, and declarations of functions and types used for various standard input and output operations.

Styla said: (Oct 4, 2012)  
What is defined in conio.h?

Madhu said: (Nov 29, 2013)  
crscr(); can be defined in conio.h.

conio means CONSOLE INPUT AND OUTPUT.

CONSOLE means screen. For clearing the screen we use this.

Swapnali said: (Dec 14, 2013)  
cgets(), cputs() , getch(), getche(), gettext() etc are also defined in conio.h.

Akila said: (Oct 8, 2014)  
Can anybody tell me, what is macro?

Anjali said: (Oct 11, 2014)  
What is macro?

Shivam said: (Jun 20, 2015)  
I think input output functions are also in Conio.h.

Kavita said: (Jun 1, 2016)  
What is meant by macros?

The input-output functions are definitely defined in conio.h.

Sukhdeep said: (May 12, 2021)  
State the use of function library.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.