Files
FizzyApple12_Waccon/WaccaProtocolTranslator/queue.h
T

18 lines
248 B
C

#ifndef _QUEUE_
#define _QUEUE_
#include <stdlib.h>
#include <stdbool.h>
typedef struct node {
int val;
struct node *next;
} node_t;
void enqueue(node_t **head, int val);
int dequeue(node_t **head);
bool isEmpty(node_t **head);
#endif