scope resolution operator can be used in C++ class for non static data members also #cplusplus

preview_player
Показать описание
JOIN ME
—————

COMPLETE PLAYLIST
————————————
C++ Tutorial For Beginners :
STL (Standard Template Library) :

INTERVIEW PLAYLIST
————————————

QUICK SHORT VIDEOS
————————————-

In this video we will learn that scope resolution operator can be used in C++ class for non static data members also, actually i have observed that students or even experienced programmers also makes this mistake that they think that the scope resolution operator is meant to use for static data members only.
But that is not correct, we can use scope resolution operators for non static data members also. It's just a way to tell to the compiler that I am talking about the data member which exist in this class or this name space.

#cppprogramming #objectorientedprogramming #softwareengineer
Рекомендации по теме
Комментарии
Автор

I didn't know this, therefore i have to like😂

nihaal