Back-End Programming Exam  >  Back-End Programming Videos  >  Learn to Program with C++: Beginner to Expert (in Hindi)  >  79. Special Properties Possessed by Friend Function in C++ (Hindi)

79. Special Properties Possessed by Friend Function in C++ (Hindi) Video Lecture | Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

186 videos

FAQs on 79. Special Properties Possessed by Friend Function in C++ (Hindi) Video Lecture - Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

1. क्या friend function का उपयोग केवल C++ में ही किया जा सकता है?
उत्तर: नहीं, friend function का उपयोग C++ में होता है, जो कि C++ के ओब्जेक्ट-ओरिएंटेड प्रोग्रामिंग कोन्सेप्ट का हिस्सा है।
2. क्या friend function सिर्फ़ एक विशिष्ट क्लास के लिए ही इस्तेमाल की जा सकती है?
उत्तर: हाँ, friend function सिर्फ़ एक विशिष्ट क्लास के लिए ही इस्तेमाल की जा सकती है। इसका मतलब है कि यह उस क्लास के private और protected डेटा और मेथड्स तक पहुंच प्रदान कर सकती है।
3. क्या friend function केवल डेटा तक ही पहुंच प्रदान कर सकती है, या वह मेथड्स को भी कॉल कर सकती है?
उत्तर: friend function डेटा के साथ-साथ मेथड्स तक भी पहुंच प्रदान कर सकती है। यह इन क्लासों को अपनी private और protected मेथड्स को अन्य क्लासों के द्वारा पहुंचने की अनुमति देती है जो friend function को उन क्लासों के साथ दोस्ती रखने की अनुमति देती हैं।
4. क्या friend function अवांछित डेटा उपयोग कर सकती है?
उत्तर: हाँ, friend function अवांछित डेटा को भी उपयोग कर सकती है। यह उन क्लासों को अपनी private और protected डेटा को अन्य क्लासों के द्वारा पहुंचने की अनुमति देती है जो friend function को उन क्लासों के साथ दोस्ती रखने की अनुमति देती हैं।
5. क्या friend function एक्सेस स्‍पेसीफायर (access specifier) की जरूरत होती है?
उत्तर: नहीं, friend function को एक्सेस स्‍पेसीफायर की जरूरत नहीं होती है। यह उन क्लासों के साथ दोस्ती रखने की अनुमति देती है जिनके लिए वह फ्रेंड फंक्‍शन बनाई गई है।
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

study material

,

video lectures

,

pdf

,

past year papers

,

79. Special Properties Possessed by Friend Function in C++ (Hindi) Video Lecture | Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

,

Summary

,

Exam

,

practice quizzes

,

Viva Questions

,

79. Special Properties Possessed by Friend Function in C++ (Hindi) Video Lecture | Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

,

ppt

,

Sample Paper

,

mock tests for examination

,

Semester Notes

,

Objective type Questions

,

shortcuts and tricks

,

Important questions

,

MCQs

,

Extra Questions

,

Free

,

79. Special Properties Possessed by Friend Function in C++ (Hindi) Video Lecture | Learn to Program with C++: Beginner to Expert (in Hindi) - Back-End Programming

,

Previous Year Questions with Solutions

;