03C-2016
CBSE12D-2016
Problem Statement - 03C-2016
Write the definition of a member function INSERT() for a class QUEUE in C++, to insert an ITEM in a dynamically allocated Queue of items considering the following code is already written as a part of the program.
struct ITEM { int INO; char INAME[20]; ITEM *Link; }; class QUEUE { ITEM *R,*F; public: QUEUE(){R=NULL;F=NULL;} void INSERT(); void DELETE(); ~QUEUE(); };
Solution
CSKC| Created: 10-Jan-2019 | Updated: 25-Feb-2019|CBSE12D-2016