This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <math.h> | |
| #define N 5 | |
| #define M 100 | |
| int enqueue (int arr [], int* lastElementIdx, int length, int element); | |
| int dequeue (int arr [], int* lastElementIdx); | |
| void printQueue (const int arr [], int lastElementIdx); |