Array base access faster or pointer base access is faster?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is time_t c++?

0 Answers  


How do you initialize a class member, class x { const int i; };

8 Answers   emc2,


What is name hiding in c++?

0 Answers  


Write a code/algo to find the frequency of each element in an array?

0 Answers   Axtria,


Which is most difficult programming language?

0 Answers  


What are virtual functions in c++?

0 Answers  


What are the uses of pointers?

0 Answers  


Implement strcmp

3 Answers   Bloomberg, Citadel,


What is fflush c++?

0 Answers  


What is DlgProc?

0 Answers   C DAC,


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.

5 Answers   GE,


What is setw manipulator in c++?

0 Answers  


Categories