Data Structures Question:

Download Job Interview Questions and Answers PDF

How is any Data Structure application is classified among files?

Data Structures Interview Question
Data Structures Interview Question

Answer:

A linked list application can be organized into a header file, source file and main application file. The first file is the header file that contains the definition of the NODE structure and the LinkedList class definition. The second file is a source code file containing the implementation of member functions of the LinkedList class. The last file is the application file that contains code that creates and uses the LinkedList class.

Download Data Structures Interview Questions And Answers PDF

Previous QuestionNext Question
What member function places a new node at the end of the linked list?Which file contains the definition of member functions?