This is inavaiable for static member function
Answers
Answered by
0
It's because static members are associated with the class as a whole whereas non-static members are associated with the individual objects of the class.
And since only objects have a this-pointer they're available in non-static members only.
D33PANWAR1
And since only objects have a this-pointer they're available in non-static members only.
D33PANWAR1
Similar questions
Math,
7 months ago
Physics,
7 months ago
Business Studies,
1 year ago
English,
1 year ago
Geography,
1 year ago