Write syntax to define friend functions in C++.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What are advantages of using friend classes?

0 Answers  


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

0 Answers  


What is the difference between prefix and postfix versions of operator++()?

0 Answers  


Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c

0 Answers  


Which ide is best for c++?

0 Answers  






Carry out conversion of one object of user-defined type to another?

0 Answers  


How many types of classes are there in c++?

0 Answers  


Mention the ways in which parameterized can be invoked.

0 Answers  


Why do we use structure in c++?

0 Answers  


How are Structure passing and returning implemented by the compiler?

0 Answers  


Explain queue. How it can be implemented?

0 Answers  


total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.

0 Answers  


Categories