GKwizard

Which header file is required for file operations in C?

Answer: Option A

File I/O functions like fopen(), fread(), etc., are declared in stdio.h.

1
Which of the following is the correct syntax to output 'Hello World' in C?

2
Which header file is required for using the printf function?

3
Which of the following is used for a single-line comment in C?

4
Which data type is used to store a single character?

5
What will be the output of: printf("%d", 10 + 5 * 2);?

C Programming MCQs Computers and IT
Computer Fundamentals MCQ Operating System MCQs
MS Word MCQs MS Excel MCQs
Database MCQs Data Structures & Algorithms MCQs
Computer Networking MCQs