Answer Posted / nitish
If you are not the actual member of the class and want the
access over the functions involved in the class, then it can
be done through friend function.
An easy access to the data is provided through friend functions.
| Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
2. Give the different notations for the class.\
Why do we use oops?
What is oops in simple words?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Write a program to reverse a string using recursive function?
What is abstraction in oop with example?
Is abstract thinking intelligence?
What is encapsulation in ict?
Why interface is used?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is abstraction example?
What is a superclass in oop?
What is the real time example of encapsulation?
What does sksksk mean in text slang?
Why multiple inheritance is not allowed?