queue - c programwrite a program to show the


Queue - C++ program:

Write a program to show the basic operations on queue.

namespace stack {

 const int max_size = 200;

 char v(max_size);

 int top=0;

 void push (char c)  { v[top++]=c;      }

 char pop (){return v[top--]; }

 }

 

void f()

{  stack::push('a');

   cout<

}

void main()

{  f();

}

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: queue - c programwrite a program to show the
Reference No:- TGS0174866

Expected delivery within 24 Hours