Sunday, 8 September 2013

pointer inside static member function

Tags

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

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:o
:>)
(o)
:p
:-?
(p)
:-s
8-)
:-t
:-b
b-(
(y)
x-)
(h)