#include <stdio.h>
int parking_queue[10];
int rear = 0;
void parking_enqueue(int* rear, int car_number) {
parking_queue[(*rear)++] = car_number;
}
int main() {
parking_enqueue(&rear, 1234);
printf("%d\n", parking_queue[0]);
printf("%d", rear);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: