GKwizard

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

Answer: Option D

The correct function in C for output is printf with proper syntax.

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

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

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

4
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