Set - 4

Question 6 :

Which file contains the definition of member functions?

Answer :

Definitions of member functions for the Linked List class are contained in the LinkedList.cpp file.

Question 7 :

What are the major data structures used in the following areas : RDBMS, Network data model & Hierarchical data model?

Answer :

1. RDBMS Array (i.e. Array of structures)
2. Network data model Graph
3. Hierarchical data model Trees.

Question 8 :

Difference between calloc and malloc ?

Answer :

malloc: allocate n bytes
calloc: allocate m times n bytes initialized to 0