July 8, 2021 in C and CPP What is containership or delegation? How does it differ from inheritance? Explain with suitable example. a) What is containership or delegation? How does it differ from inheritance? Explain withsuitable example. Read More
July 8, 2021 in C and CPP What is runtime memory management? What support is provided by C++ for this and how does it differ from C’s memory management? b) What is runtime memory management? What support is provided by C++ for this andhow does it differ from C’s memory management? Read More
July 8, 2021 in C and CPP What are the differences between pointers to constants and constant pointers? Give examples. a) What are the differences between pointers to constants and constant pointers? Giveexamples. Read More
July 8, 2021 in C and CPP The dynamic memory is allocated by the operator new from the ________ area. A. static B. run time C. friendD. pointers E. void F. intG. compile time H. size of I. heapJ. public K. register L. virtual Read More
July 8, 2021 in C and CPP Structures in C++ cannot have member functions. Each statement below is either TRUE or FALSE. Choose the most appropriate oneand ENTER in the “tear-off” sheet attached to the question paper, followinginstructions therein. Read More