What do you know about friend class and friend function?
A friend function is a function that is specified outside a class but has the ability to access the class members' protected and private data. A friend can be a member's function, function template, or function, or a class or class template, in which case the entire class and all of its members are friends.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you initialize a string in c++?
How is memory managed in C++?
Is multimap sorted c++?
There is a array of 99 cells and we have to enter 1-100 elements in it , no two elements would repeat , so the is one no. missing because 99 cells and 1-100 nos. so we had to implement a function to find that missing no.
How do you invoke a base member function from a derived class in which you’ve overridden that function?
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
How is computer programming useful in real life?
What is the difference between "overloading" and "overridding"?
Why we use #include iostream in c++?
What is dynamic and static typing?
What are the c++ access specifiers?
Are c and c++ different?