Singly LinkedList
By Manish Shandilya 2025-07-23
struct Node{
	int data;
	struct Node *next;
};
struct Node * allocate(){...
Read More
Write a function code for display Queue elements
By Manish Shandilya 2025-07-23
void traverse(){
   int i;
   for(i=front;i<=rear;i++){
      printf("%d\t",Queue[i]);...
Read More
Write a function code for delete value in Queue
By Manish Shandilya 2025-07-23
void deleteval(){
	 int val;
	 if(front == -1){
	   printf("underflow");
	 }...
Read More
Write a function code for insert data in Queue
By Manish Shandilya 2025-07-23
void insert(){
	 int val;
	 if(rear == SIZE-1){
	   printf("Overflow");
	 }...
Read More
Write a function code for stack peep operation
By Manish Shandilya 2025-07-23
void peep(){
	 int pos;
	 printf("Enter position:");
	 scanf("%d",&pos);
	 if(top-pos+1 < 0){...
Read More
Write a function code for stack pop operation
By Manish Shandilya 2025-07-23
void pop(){
	  int val;
	  if(top==-1){
		printf("underflow");
	  }...
Read More