Explain the advantages of using friend classes.


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

Post New Answer

More C++ General Interview Questions

Live example for static function?

1 Answers   Infosys,


What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number

0 Answers  


What operators can you overload in c++?

0 Answers  


What is microsoft c++ redistributable?

0 Answers  


Is c++ vector dynamic?

0 Answers  






How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?

0 Answers  


How would you use qsort() function to sort an array of structures?

0 Answers  


What will happen if I allocate memory using "new" and free it using "free" or allocate sing "calloc" and free it using "delete"?

3 Answers  


What is polymorphism in c++? Explain with an example?

0 Answers  


What is Virtual Inheritance?

7 Answers   Amazon, Wipro,


write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num

0 Answers   Care,


What is the use of :: operator in c++?

0 Answers  


Categories