Is it possible for a member function to delete the pointer, named this?


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

Post New Answer

More C++ General Interview Questions

What are friend functions?

1 Answers  


What is the difference between const and constexpr?

4 Answers  


How can virtual functions in c++ be implemented?

0 Answers  


How do you print a string on the printer?

0 Answers  


Distinguish between new and malloc and delete and free().

0 Answers  


Explain all the C++ concepts using examples.

0 Answers   InterGraph,


how to swap two numbers with out using temp variable

12 Answers   Global eProcure, TCS,


class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.

2 Answers   Quark,


what is scupper?

0 Answers  


an operation between an integer and real always yeilds a) integer result b) real result c) float result

0 Answers  


Can a class be static in c++?

0 Answers  


How a new element can be added or pushed in a stack?

0 Answers  


Categories