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

How a new element can be added or pushed in a stack?

0 Answers  


What is OOPs

12 Answers   CA,


Which uses less memory? a) struct astruct { int x; float y; int v; }; b) union aunion { int x; float v; }; c) char array[10];

4 Answers   Quark,


How does class accomplish data hiding in c++?

0 Answers  


What is a base class?

0 Answers  






How many static variables are created if you put one static member into a template class definition?

0 Answers  


Write a corrected statement in c++ so that the statement will work properly. if (x = y) x = 2*z;

2 Answers  


What is Virtual Inheritance?

7 Answers   Amazon, Wipro,


What is istream c++?

0 Answers  


Why do we use using namespace std in c++?

0 Answers  


Define the process of error-handling in case of constructor failure?

0 Answers  


What are the 2 main types of data structures?

0 Answers  


Categories