C Fundamentals MCQs

303 questionsC-ProgramPage 3 of 34

Practice free C Fundamentals multiple-choice questions with instant answer feedback and step-by-step solutions. Click an option to check yourself, reveal the full explanation, and work through all 303 questions — no login required.

Question 19easy
Which operator is used to compare two values for equality in C?
Question 20easy
What is the purpose of the 'const' keyword in C?
Question 21easy
Which data type is used to store a sequence of characters in C?
Advertisement
Question 22easy
In C, which operator is used for pointer-to-pointer relationships?
Question 23easy
What is the purpose of the 'sizeof' operator in C?
Question 24easy
What does the 'NULL' keyword represent in C?
Advertisement
Question 25easy
Which library function is used to allocate memory dynamically in C?
Question 26easy
What is the purpose of the 'scanf' function in C?
Question 27easy
Which operator is used to access the value stored at a pointer address in C?