44. Structure in C++ (Hindi) Video Lecture | Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

186 videos

FAQs on 44. Structure in C++ (Hindi) Video Lecture - Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

1. Structure in C क्या है?
उत्तर: सी में संरचना (Structure) एक डेटा टाइप है जिसमें विभिन्न प्रकार के डेटा आइटम्स को एक साथ रखा जाता है। इसका उपयोग प्रोग्राम में बड़े संरचित डेटा को आसानी से प्रबंधित करने के लिए किया जाता है।
2. Structure कैसे बनाएँ जाते हैं?
उत्तर: सी में संरचना को बनाने के लिए "struct" शब्द का उपयोग किया जाता है। संरचना के नाम के बाद विभिन्न डेटा आइटम्स के नाम, उनके डेटा टाइप और उनकी संख्या दी जाती है। उदाहरण के लिए: struct Employee { char name[50]; int age; float salary; };
3. Structure के उपयोग क्या हैं?
उत्तर: संरचना का उपयोग बड़े संरचित डेटा को प्रबंधित करने के लिए किया जाता है। यह एक व्यक्ति या वस्तु की विशेषताओं का संग्रह हो सकता है जैसे कि एक कर्मचारी का नाम, उम्र और वेतन। संरचना का उपयोग करके हम प्रोग्राम में बड़े संख्या के डेटा को संग्रहीत कर सकते हैं और उन्हें आसानी से एक ही वेरिएबल के माध्यम से पहुंच सकते हैं।
4. Structure के डेटा आइटम्स को कैसे एक्सेस किया जाता है?
उत्तर: संरचना के डेटा आइटम्स को "." (डॉट) ऑपरेटर का उपयोग करके एक्सेस किया जाता है। डॉट ऑपरेटर के बाद संरचना के नाम और उस डेटा आइटम का नाम दिया जाता है जिसे हम एक्सेस करना चाहते हैं। उदाहरण के लिए, structure के नाम "emp" है और हम "name" डेटा आइटम को एक्सेस करना चाहते हैं, तो हम इसका उपयोग करेंगे - "emp.name".
5. Structure का उपयोग करने के लिए कौन-सी फ़ाइल इंकलूड की जाती है?
उत्तर: Structure का उपयोग करने के लिए एक्सटर्नल फ़ाइल "stdio.h" इंकलूड की जाती है। यह फ़ाइल सी में पाठ/लिखाई के लिए संरचित किए गए एक स्टैंडर्ड लाइब्रेरी है और यहां परिभाषित संरचना डेटा टाइप को उपयोग करने के लिए आवश्यक होती है।
186 videos
Explore Courses for Back-End Programming exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

ppt

,

Previous Year Questions with Solutions

,

shortcuts and tricks

,

Exam

,

Important questions

,

Summary

,

44. Structure in C++ (Hindi) Video Lecture | Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

,

mock tests for examination

,

practice quizzes

,

Viva Questions

,

pdf

,

Sample Paper

,

44. Structure in C++ (Hindi) Video Lecture | Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

,

Semester Notes

,

study material

,

Extra Questions

,

44. Structure in C++ (Hindi) Video Lecture | Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

,

MCQs

,

past year papers

,

Free

,

video lectures

,

Objective type Questions

;