145. Where use this pointer in C++ (Hindi) Video Lecture | Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

186 videos

FAQs on 145. Where use this pointer in C++ (Hindi) Video Lecture - Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

1. सी में this पॉइंटर का कहाँ प्रयोग किया जाता है?
उत्तर: this पॉइंटर का प्रयोग सी में ऑब्जेक्ट के साथ काम करने के लिए किया जाता है। जब ऑब्जेक्ट को अपने आपसे बातचीत करनी होती है, तो this पॉइंटर का उपयोग किया जाता है।
2. this पॉइंटर को कैसे उपयोग करें और इसका उपयोग किस प्रकार से किया जाता है?
उत्तर: this पॉइंटर को उपयोग करने के लिए, आपको इसे ऑब्जेक्ट के साथ डिक्लेयर करना होगा। इसका उपयोग आप ऑब्जेक्ट के सदस्य फ़ंक्शन में इस्तेमाल करके कर सकते हैं, जहां यह ऑब्जेक्ट अपने आप को रेफ़र करता है।
3. this पॉइंटर का उपयोग करने के फायदे क्या हैं?
उत्तर: this पॉइंटर का उपयोग करने से हम ऑब्जेक्ट और उसके सदस्य फ़ंक्शन्स को बातचीत करने की सुविधा प्रदान करते हैं। इसके बिना, ऑब्जेक्ट को अपने आप को रेफ़र करने के लिए कोई तरीका नहीं होता है और यह अन्य वेरिएबल्स की तरह काम करता है।
4. this पॉइंटर क्या हो सकता है?
उत्तर: this पॉइंटर ऑब्जेक्ट को रेफ़र कर सकता है और इसे सदस्य फ़ंक्शन्स में इस्तेमाल किया जा सकता है। यह ऑब्जेक्ट अपने आप को रेफ़र करने के लिए इस्तेमाल होता है और इसे इस्तेमाल करके हम उस ऑब्जेक्ट के सदस्य फ़ंक्शन्स तक पहुंच सकते हैं।
5. this पॉइंटर का उपयोग करते समय किन समस्याओं का सामना किया जा सकता है?
उत्तर: this पॉइंटर का उपयोग करते समय कुछ समस्याएं हो सकती हैं, जैसे कि कोड का कॉन्फ़्यूज़न, ऑब्जेक्ट के अवैध उपयोग, या ऑब्जेक्ट के खो जाने की स्थिति। ध्यान देने वाली बात यह है कि this पॉइंटर को सही तरीके से उपयोग करना चाहिए और ऑब्जेक्ट को सही ढंग से बनाना चाहिए ताकि ऐसी समस्याएं न हों।
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

Extra Questions

,

145. Where use this pointer in C++ (Hindi) Video Lecture | Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

,

Summary

,

video lectures

,

Free

,

pdf

,

Important questions

,

practice quizzes

,

ppt

,

145. Where use this pointer in C++ (Hindi) Video Lecture | Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

,

study material

,

Viva Questions

,

Objective type Questions

,

Previous Year Questions with Solutions

,

shortcuts and tricks

,

Sample Paper

,

Exam

,

MCQs

,

mock tests for examination

,

past year papers

,

145. Where use this pointer in C++ (Hindi) Video Lecture | Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

,

Semester Notes

;