mirror of
https://github.com/TheAlgorithms/C
synced 2025-02-12 11:34:58 +03:00
Minor changes
This commit is contained in:
parent
066a69bb43
commit
9af798a677
@ -45,6 +45,9 @@ void create() {
|
||||
tail = NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Puts an item into the Queue.
|
||||
*/
|
||||
void enque(int x) {
|
||||
if(head == NULL) {
|
||||
head = (struct node *)malloc(1 * sizeof(struct node));
|
||||
|
Loading…
x
Reference in New Issue
Block a user