#include <stdio.h> #include <string.h> typedef struct { int data[10000]; int front, rear; } SqQueue; void initQueue(SqQueue* Q) { Q->front = Q->rear = 0; } int enQueue(SqQueue* Q, int x, int size) { if ((Q->rear + 1) % size == Q->front) { printf("...