Static Data Members Example 1 | C++ Tutorial | Mr. Kishore

  Рет қаралды 90,919

Naresh i Technologies

Naresh i Technologies

Күн бұрын

Пікірлер: 40
@NareshIT
@NareshIT 5 жыл бұрын
Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL
@roymarley5178
@roymarley5178 3 жыл бұрын
I dont mean to be so off topic but does someone know a way to get back into an instagram account..? I was dumb forgot the account password. I would love any tricks you can give me.
@sudeshnaC
@sudeshnaC 7 жыл бұрын
Very nicely explained but at 11:31 is t.get() is not going to print 10 instead it should print 100. This is because the static variable 'a' is overwritten inside main which comes after the definition "int Test::a=10;"
@stockmarket_matrix
@stockmarket_matrix 6 жыл бұрын
correct I also want to say the same
@mylessons4u857
@mylessons4u857 5 жыл бұрын
you are right dear the value of has been updated within main()
@mounikamouni9670
@mounikamouni9670 4 жыл бұрын
Yes true
@developer1853
@developer1853 3 жыл бұрын
Exactly
@pavanbn8d
@pavanbn8d 2 жыл бұрын
#include using namespace std; class staticMember { public: static int a; //Static member declaration void get() { a = 10; cout
@jaswanthdasireddy
@jaswanthdasireddy 5 жыл бұрын
I watched all ur videos sir......very useful to my exams.....🙏🙏🙏👏👏👏TQ very much sir.......u r having such a good knowledge 😊😊
@LinguistAna
@LinguistAna 6 жыл бұрын
Love your tutorials thank you so much for taking the time to upload. I am teaching myself coding and find your videos extremely helpful.
@arshmaanali714
@arshmaanali714 2 жыл бұрын
love from Pakistan excellent way of explanation
@rakshithkumar9381
@rakshithkumar9381 4 жыл бұрын
Static data member is declared in Public area which is against data hiding concept. Is this true??
@manaswiniachuthan884
@manaswiniachuthan884 5 жыл бұрын
This is what I needed thanks for teaching and clearing my doubts
@bharathip9012
@bharathip9012 5 жыл бұрын
sir 7.28 both local variable and static variable both are accessed by class objects t1,t2,t3. then whats the difference. difference only declaration and defination????
@konderikundhini0573
@konderikundhini0573 3 жыл бұрын
Sir can you explain us what is difference between static ,global and constant variables?
@kavitapatil1944
@kavitapatil1944 6 жыл бұрын
Sir plz explain what is instance ,static,local variable
@sdetbyraviteja568
@sdetbyraviteja568 3 жыл бұрын
Instance is nothing but a copy Or xerox of original copy Here the original copy means class And xerox copy means object.
@sumaiyasulthana903
@sumaiyasulthana903 5 жыл бұрын
fantastic sir. i understood the concept clearly
@pranjalsahu5719
@pranjalsahu5719 4 жыл бұрын
Very nicely explained!!
@12nov83
@12nov83 6 жыл бұрын
hi sir did u make c programing tutorials
@avr96
@avr96 7 жыл бұрын
sir please arrange all your videos in a proper manner
@akshitarawat1970
@akshitarawat1970 6 жыл бұрын
Sir y the static data member is needed to b in public area ??? When object is calling member function to initialize the data member ,then hw it matters if the data member is private or public??
@arvindersingh1376
@arvindersingh1376 5 жыл бұрын
Just becoz we declare static data member in class But v have to define it ouside the class Thus it is only possible if static data members are public
@selvapriya4115
@selvapriya4115 5 жыл бұрын
Pls give class in reinterpret cast,static cast,dynamic cast
@benbenuu6703
@benbenuu6703 3 жыл бұрын
masterpiece
@penumallasiva9519
@penumallasiva9519 4 жыл бұрын
why we cant access non static data members in static member functions?
@ГерриПитт
@ГерриПитт 5 жыл бұрын
good tutorials, well done!
@mekalamadhankumar3224
@mekalamadhankumar3224 4 жыл бұрын
Thanks sir
@tusharchakraborty9480
@tusharchakraborty9480 6 жыл бұрын
Please provide numbering of videos lecture by lecture.
@wild2649
@wild2649 11 ай бұрын
prints a=100 both times
@Amandeep-yl3rg
@Amandeep-yl3rg 6 жыл бұрын
both will print 100 sir
@prasad5709
@prasad5709 4 жыл бұрын
Right my too
@veeradlima6642
@veeradlima6642 4 жыл бұрын
Scope resolution operator video
@vamsiv3337
@vamsiv3337 6 жыл бұрын
I HAVE A DOUBT WHAT IS MEAN BY LVALUE REQUIRED
@viswanathgupta7406
@viswanathgupta7406 7 жыл бұрын
load another sessions sir
@bagrat5194
@bagrat5194 3 жыл бұрын
it will print 100
@ajaykharat8689
@ajaykharat8689 6 жыл бұрын
Ajay Kharat 50 minutes ago yes #include #include #include using namespace std; class ajay { private: int a; public: static int s; void getdata() { a=20; s+=2; cout
@TheStarboyVlog
@TheStarboyVlog 3 жыл бұрын
s = 100 s = 102 a = 20 s = 104 a = 20
@II_xD_II
@II_xD_II 4 жыл бұрын
Exam point of view -_-
@DilipKumar-du8ui
@DilipKumar-du8ui 4 жыл бұрын
Sir is not feeling good in this video
Static Data Members Example 2 | C++ Tutorial | Mr. Kishore
10:16
Naresh i Technologies
Рет қаралды 46 М.
Constant Members in Class | C++ Tutorial | Mr. Kishore
20:04
Naresh i Technologies
Рет қаралды 55 М.
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 3,9 МЛН
World‘s Strongest Man VS Apple
01:00
Browney
Рет қаралды 44 МЛН
Friend Class in C++ Example 1 | C++ Tutorial | Mr. Kishore
15:05
Naresh i Technologies
Рет қаралды 99 М.
Static Data Member And Static Member Function In C++
17:19
CppNuts
Рет қаралды 52 М.
Static Member Functions | C++ Tutorial
8:19
Portfolio Courses
Рет қаралды 10 М.
Multiple Inheritance in C++ | C++ Tutorial | Mr. Kishore
18:18
Naresh i Technologies
Рет қаралды 76 М.
Static Member Functions | C++ Tutorial | Mr. Kishore
16:51
Naresh i Technologies
Рет қаралды 67 М.
Friend Function in C++ Part 1 | C++ Tutorial | Mr. Kishore
17:38
Naresh i Technologies
Рет қаралды 167 М.
Static Data and Static Functions | C++ in Tamil | Logic First Tamil
8:56
Logic First Tamil
Рет қаралды 15 М.
Destructor in C++ | C++ Tutorial | Mr. Kishore
13:27
Naresh i Technologies
Рет қаралды 89 М.
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36