Operating System

Tuesday, April 28, 2015

What is the output for above program ?

Leave a Comment
Queue *Q = createQueue(5);  
Enqueue(Q,1);
Enqueue(Q,2);
Enqueue(Q,3);
Enqueue(Q,4);
printf("Front element is %d\n",front(Q));
What is the output for above program ?
4
1
2
3
If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment