MCPcopy Create free account
hub / github.com/anupam-kumar-krishnan/Competitive_Programming / rear

Function rear

Basic Programming/queue.c:78–83  ·  view source on GitHub ↗

Function to get rear of queue

Source from the content-addressed store, hash-verified

76
77// Function to get rear of queue
78int rear(struct Queue* queue)
79{
80 if (isEmpty(queue))
81 return INT_MIN;
82 return queue->array[queue->rear];
83}
84
85// Driver program to test above functions./
86int main()

Callers 1

mainFunction · 0.85

Calls 1

isEmptyFunction · 0.70

Tested by

no test coverage detected