The advantage of using linked lists over arrays is that . . . . . . . .
A. Linked list is an example of linear data structure
B. Insertion and deletion of an element can be done at any position in a linked list
C. Linked list can be used to store a collection of homogenous and heterogeneous data types
D. The size of a linked list is fixed
Answer: Option B
In C, which header file should be included to use dynamic memory allocation functions?
A. stdlib.h
B. malloc.h
C. memory.h
D. alloc.h
What is the purpose of the 'malloc' function in C?
A. To allocate dynamic memory
B. To allocate static memory
C. To deallocate memory
D. To find memory leaks
Which function is used to allocate an array of elements in C?
A. calloc()
B. malloc()
C. alloc()
D. array()
What does the 'calloc' function in C do?
A. Allocates and initializes memory to zero
B. Allocates memory and leaves it uninitialized
C. Deallocates memory
D. Checks for memory leaks

Join The Discussion