What is friend function?

Answer Posted / karthi

the friend function access basic class variables by using
dot operators.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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!!!)

1841


What is the full form of oops?

904


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1799


Can an interface inherit a class?

772


What is interface? When and where is it used?

1867


What is oops and its features?

819


What is destructor in oop?

788


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

1883


Give two or more real cenario of virtual function and vertual object

2061


What are the data types in oop?

816


State what is encapsulation and friend function?

930


What is oops and why we use oops?

772


Why is static class not inherited?

813


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?

1606


can we make game by using c

3708