Why do we use pointers in c++?


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

Post New Answer

More C++ General Interview Questions

Can you please explain the difference between overloading and overriding?

0 Answers  


How do you write a function that can reverse a linked-list?

0 Answers  


What is c++ redistributable?

0 Answers  


What is endianness?

0 Answers  


What does extern mean in a function declaration in c++?

0 Answers  






Why do we use pointers in c++?

0 Answers  


What is difference between malloc()/free() and new/delete?

0 Answers  


What is an orthogonal base class in c++?

0 Answers  


What do you mean by a template?

0 Answers  


What are the different types of polymorphism?

3 Answers  


int f() { int I = 12; int &r = I; r += r / 4; int *p = &r; *p += r; return I; } Referring to the sample code above, what is the return value of the function "f()"? a) 12 b) 15 c) 24 d) 17 e) 30

2 Answers   AIG, Quark,


Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.

0 Answers  


Categories