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 can virtual functions in c++ be implemented?
Give a very good method to count the number of ones in a "n" (e.g. 32) bit number.
Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
What is a friend function in c++?
How do I run c++?
sir there is some problem with nokia5130c-2,when we are trying to upload movies from net then there is a error occurred"FORMAT NOT SUPPORTED" bt its all ready in 3gp format.please tell me what i do now?
How do you test your code?
What c++ is used for?
Can create new c++ operators?
Why do you use the namespace feature?
what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??