What is a friend function & its advantage?
Answer / kishor khatri
A friend function is a non member function of a class, that
is declared as a friend using the keyword "friend" inside
the class. By declaring a function as a friend, all the
access permissions are given to the function. It is like
allowing access to ones personal belongings to a friend.
| Is This Answer Correct ? | 3 Yes | 1 No |
What are the benefits of polymorphism?
write a program in c++ to overload the function add (s1,s2) where s1 and s2 are integers and floating point values.
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
The type of variable a pointer points to must be the part of pointer's definition so that:
Explain the concept of abstracion and encapsulation with one example. What is the difference between them?
What is the concept of object oriented program?
What do you mean by inheritance?
difference between overloading and overridding
The company is a fake company asking for money of RS10000 while training and not offering a job after training. My humble request to you people not to attend Astersys interview
What are the types of abstraction?
143.what is oops principles?
What is difference between class and object with example?