iGET

C Programming - MCQ Practice Questions

Practice free C Programming multiple-choice questions with detailed answers and explanations. Perfect for competitive exam preparation.

978 questions | 100% Free

Q.21Easy

How many bytes are allocated by malloc(sizeof(int) * 10) on a system where int is 4 bytes?

Q.22Easy

What is the primary difference between calloc() and malloc() in C?

Q.23Easy

In a dynamic queue implementation, if front pointer is NULL, what does it indicate?

Q.24Easy

If malloc() returns NULL, what should a program do?

Q.25Easy

In implementing a dynamic doubly-linked list, what additional field is required compared to singly-linked list?