Explain 'this' pointer and what would happen if a pointer is deleted twice?


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

Post New Answer

More C++ General Interview Questions

what is C++ objects?

0 Answers  


What is a constructor initializer list and when we use constructor initializer list?

3 Answers   Soft Info, TCS,


Why the usage of pointers in C++ is not recommended ?

0 Answers   TCS,


What do you mean by inheritance in c++?

0 Answers  


Can turbo c++ run c program?

0 Answers  


What do you mean by “this” pointer?

0 Answers  


Is dev c++ free?

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 is object?

7 Answers  


Explain the different access specifiers for the class member in c++.

0 Answers  


What are guid? Why does com need guids?

0 Answers  


What are templates? where we should use it?

2 Answers   Alcatel,


Categories