Why Pointers are not used in C++?


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

Post New Answer

More C++ General Interview Questions

What is a c++ object?

0 Answers  


What is data structure in c++?

0 Answers  


1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v

5 Answers   Quark,


What do you mean by “this” pointer?

0 Answers  


Differentiate between a copy constructor and an overloaded assignment operator.

0 Answers  






What is the disadvantage of using a macro?

0 Answers  


What is the use of this pointer in c++?

0 Answers  


What is std namespace in c++?

0 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,


What is meant by the term name mangling in c++?

0 Answers  


Define linked lists with the help of an example.

0 Answers  


Comment on local and global scope of a variable.

0 Answers  


Categories