Elective Object Oriented Programming in C++

Object Oriented Programming in C++PU Spring 2023

a) Does the friend function breach Data hiding? Justify. Write a program = to swap the values of variables of two classes using friend function. b) How is DMA better than SMA? Justify your answer.…

15
  • a) Does the friend function breach Data hiding? Justify. Write a program = to swap the values of variables of two classes using friend function.
  • b) How is DMA better than SMA? Justify your answer. Explain how new = and delete operators are used in DMA.
A worked answer is on its wayMeanwhile, read the Object Oriented Programming in C++ notes for this topic.

Discussion

Loading…

More Object Oriented Programming in C++ questions

All Object Oriented Programming in C++ old questions