Home
C++
pointer inside static member function
pointer inside static member function
Can we use this pointer inside static member function?
Ans:
No! The this pointer cannot be used inside a static member function. This
is because a static member function is never
called through an object.
EmoticonEmoticon