Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Added C - Queue #70

Merged
merged 3 commits into from
Oct 18, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added C - Queue - (Quickfix)
SupulCFG committed Oct 17, 2021
commit bfb4b7651de9842e7025cc9e1689a3a57a388939
4 changes: 2 additions & 2 deletions Data Structures/Queue/queue.c
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ typedef struct Node Node;
/*-------------------------------------- Queue Functions -------------------------------------- */
/** Ideally these should go in a seperate Header file (ie. queue.h) along with the self referencing structure
*
* Note : Queue is a ADT which is also a derived DS of LinkedList
* Note : Queue is a ADT which is also a derived DS from LinkedList
*
* Queue Functions
* Create Node : create_node
@@ -95,7 +95,7 @@ void print_queue(Node *head) {

printf(" ]\n");
}
/* --------------------------------- End of Linked List Functions ----------------------------------- */
/* --------------------------------- End of Queue Functions ----------------------------------- */

int main() {
Node *queue = NULL; // Pointer to the First Node of the Queue