What is java and c++?
What is the arrow operator in c++?
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.
why the size of an empty class is 1
When should I use unitbuf flag?
Using a smart pointer can we iterate through a container?
What is math h in c++?
Write a note about the virtual member function?
What is the first name of c++?
Memory is not a constraint. In a single iteration(NOTE: you can't go back), how will you find out the 10th last node/item in a linked list.
16 Answers BNB, FDS, Goldman Sachs, Nagarro,
If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];
Difference between delete and delete[]?
5 Answers Infosys, TCS, Virtusa,
What is overloading unary operator?