Question: Below is the C++ program for the implementation of a particular data structure. First, describe which type of data structure is used in the following

Below is the C++ program for the implementation of a particular data structure. First, describe which type of data structure is used in the following C++ program and which technique of that data structure is employed. Then, correct the bug(s) in the code. class Sample { int arr[11]; int size; public: int techniquel(int key){ return (key % 11); } int technique2(int key) { return (11 - (key % 11)); } Sample { size for (int i=0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
