Where must the declaration of a friend function appear?


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

Post New Answer

More C++ General Interview Questions

What would happen on forgetting [], while deallocating an array through new?

0 Answers  


What is function declaration in c++ with example?

0 Answers  


What is multithreading and what is its use?Whats are multithreading techniques used in C++?

1 Answers  


Is overriding possible in c++?

0 Answers  


Explain the difference between class and struct in c++?

0 Answers  






What is a static element?

0 Answers  


Will the following program execute?

0 Answers  


What does it mean to declare a member function as static?

0 Answers  


Why is c++ considered difficult?

0 Answers  


Describe friend function & its advantages.

0 Answers   TCS,


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

0 Answers  


Why do we use setw in c++?

0 Answers  


Categories