Practice mode C Language

Which standard header file must be included to use printf() and scanf() in C?

Correct answer C. stdio.h

Explanation

The functions printf() and scanf() are declared in stdio.h, the standard input and output header. stdlib.h, string.h and math.h serve other purposes.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.