What is stream and its types in c++?
No Answer is Posted For this Question
Be the First to Post Answer
Is python written in c or c++?
In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h
How to give an alternate name to a namespace?
Declare a class vehicle and make it an abstract data type.
write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.
What is a block in c++?
What is array give example?
What is the difference between a class and a structure in C++?
Why struct is used in c++?
What is c++ try block?
How does list r; differs from list r();?
In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.