Write a C++ program to create a queue using linked list implementation with values 15 20 25 30 35.Also write a function to print the first element in the queue.
#include<bits/stdc++.h> using namespace std; struct QNode {int data;QNode* next;QNode(int d){data = d;next = NULL;}}; struct Queue {QNode *front, *rear;Queue(){front =…