Why are pointers not used in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between Class and Structure?
40 Answers HP, IBM, Samsung, TCS,
What are containers in c++?
Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
What is virtual base class?
Difference between Abstraction and encapsulation in C++?
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
How is c++ used in the real world?
What is the need of a destructor? Explain with the help of an example.
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?
Differentiate between realloc() and free().
What are the advantages of inheritance in c++?