GKwizard

What is the return type of malloc() function?

Answer: Option B

malloc returns a void pointer to the allocated memory.

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