Back-End Programming Exam  >  Back-End Programming Videos  >  C Programming for Beginners: From Zero to Hero (in Hindi)  >  Lecture 16 Structure in C language Part 2 Hindi

Lecture 16 Structure in C language Part 2 Hindi Video Lecture | C Programming for Beginners: From Zero to Hero (in Hindi) - Back-End Programming

FAQs on Lecture 16 Structure in C language Part 2 Hindi Video Lecture - C Programming for Beginners: From Zero to Hero (in Hindi) - Back-End Programming

1. Structure क्या होता है और C भाषा में कैसे इस्तेमाल किया जाता है?
Ans. Structure C भाषा में एक user-defined data type है जो कि अलग-अलग डेटा टाइप्स के विभिन्न इलेमेंट्स को संग्रहीत करता है। Structure बनाने के लिए struct की कीवर्ड का उपयोग किया जाता है और इसके इलेमेंट्स को एक विशेष नाम दिया जाता है।
2. C भाषा में Structure की व्याख्या कैसे की जाती है?
Ans. Structure को C भाषा में इस तरह व्याख्या किया जाता है: struct keyword के बाद एक structure नाम दिया जाता है और उसके ब्रेसिज {} में संग्रहीत इलेमेंट्स का एक सूची दी जाती है। हर एक इलेमेंट को उसका डेटा टाइप और नाम दिया जाता है।
3. Structure के इलेमेंट्स को कैसे एक्सेस किया जाता है?
Ans. Structure के इलेमेंट्स को एक्सेस करने के लिए dot (.) ऑपरेटर का उपयोग किया जाता है। इसके बाद structure का नाम, उसके बाद dot (.) ऑपरेटर, और फिर इलेमेंट का नाम आता है। यह इलेमेंट की मान को प्राप्त करने और सेट करने के लिए इस्तेमाल होता है।
4. Structure को कैसे पास किया जाता है जब इसे फ़ंक्शन के अंदर इस्तेमाल किया जाता है?
Ans. Structure को फ़ंक्शन के अंदर पास करने के लिए उसे फ़ंक्शन के पैरामीटर के रूप में घोषित किया जाता है। फ़ंक्शन के पैरामीटर में Structure का नाम और उसकी डेटा टाइप दिया जाता है। जब फ़ंक्शन को कॉल किया जाता है, तो Structure की एक कॉपी बनाई जाती है और उसे पैरामीटर के रूप में फ़ंक्शन को पास किया जाता है।
5. Structure का उपयोग क्यों किया जाता है?
Ans. Structure का उपयोग इसलिए किया जाता है क्योंकि इससे हम अलग-अलग डेटा टाइप्स के इलेमेंट्स को एकत्र कर सकते हैं और इसे एक विशेष entity के रूप में प्रदर्शित कर सकते हैं। Structure की सहायता से हम complex data structures बना सकते हैं जो अन्य data types या Structure के इलेमेंट्स को संगठित रूप से संग्रहीत करते हैं।
Related Searches

Free

,

Lecture 16 Structure in C language Part 2 Hindi Video Lecture | C Programming for Beginners: From Zero to Hero (in Hindi) - Back-End Programming

,

Lecture 16 Structure in C language Part 2 Hindi Video Lecture | C Programming for Beginners: From Zero to Hero (in Hindi) - Back-End Programming

,

Exam

,

MCQs

,

video lectures

,

Viva Questions

,

past year papers

,

Lecture 16 Structure in C language Part 2 Hindi Video Lecture | C Programming for Beginners: From Zero to Hero (in Hindi) - Back-End Programming

,

ppt

,

Sample Paper

,

Previous Year Questions with Solutions

,

mock tests for examination

,

pdf

,

Important questions

,

Semester Notes

,

Objective type Questions

,

study material

,

Extra Questions

,

practice quizzes

,

shortcuts and tricks

,

Summary

;