What are friend functions?
Answer / nashiinformaticssolutions
Friend functions can access private and protected members of a class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Will this c++ program execute or not?
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
Give 2 examples of a code optimization?
describe private access specifiers?
Which one of the following describes characteristics of "protected" inheritance? a) The base class has access only to the public or protected members of the derived class. b) The derived class has non-public, inheritable, access to all but the private members of the base class. c) The derived class has access to all members of the base class. d) The private members of the base class are visible within the derived class. e) Public members of the derived class are privately accessible from the base class.
What is protected inheritance?
What happens if a pointer is deleted twice?
Where do I find the current c or c++ standard documents?
Write a C/C++ program to show the result of a stored procedure "PROC_RESET_MAIL" on database "USER_NOTIFY".
2 Answers ABC, Accenture, DataLand, HCL, Webyog,
How the programmer of a class should decide whether to declare member function or a friend function?
If there are two catch statements, one for base and one for derived, which should come first?
Name the implicit member functions of a class.