Contents
Queue in Data Structure in Hindi
इस पोस्ट मे हमने Function for insert, Delete an item in the Queue in Data Structure in Hindi मे बताया है की हम क्यू मे केसे डाटा insert तथा delete करते है
Function for insert an item in the queue
Void insert ( int item) { If (rear > maxsize) { printf(“Queue overflow”); break; } Else { Rear = rear+1; Queue [Rear]=item; } }
Delete element from the Queue:-
1. If front <0 [check under flow condition]
Write Queue is empty and return
2. else ; item =queue [front] ( remove element from front)
3. find new value of front
If (front == rear ) ( checking for empty queue)
Set front =0 ; rear =-1; ( re- initialize the pointer )
Else
Front = front +1;
Function for delete an item from the queue:-
Void delete () { If (front<0) { Printf(“queue is empty “); Break; } Else { Item = queue [front]; Front = front +1; Printf(“item deleted= %d”,item); } }
आशा करता हूं आपको यह post पसंद आई होगी. इससे जुड़े किसी भी प्रकार के questions अगर आप पूछना चाहे तो
comment box main comment kar sakte hain....
Kali Linux 2018.4 64 Bit Live Bootable Installation 16 GB PenDrive : https://amzn.to/37fpL8U
Consistent 250 GB Hard Disk for Desktop : https://amzn.to/2N6gZDs
Visit my You tube channel for Education , Technology category videos…
&
TECHNOBE
इसे भी देखे:
MS Word Tutorial in hindi :
Introduction Of MS Word जाने हिंदी में
Microsoft Office Button क्या है?
इसे भी देखे:
Hello दोस्तों! नीचे दिए गए links पर click करके आपको हम इस पोस्ट में (Computer Online Test) की Practice कराएंगे जिससे आप अपने CCC, O level , कम्प्युटर GK की practice कर सकते है.
इस post के द्वारा आप अपनी कम्प्युटर की नॉलेज बड़ सकते है.
उसके साथ ही साथ आप अपने कई प्रकार के पेपरो की भी तैयरी भी कर सकते है.
जैसे की CCC, O level , कम्प्युटर GK की practice कर सकते है,