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
0 comments:
Post a Comment