11. Pointers in C++ | Guaranteed Placement Course

  Рет қаралды 688,841

Apna College

Apna College

Күн бұрын

Пікірлер: 680
@galax5130
@galax5130 2 жыл бұрын
My Rules of understanding pointers:- '&' - this will return an address of any variable or things. '*' - this will dereference an address 'int *' - this will make a pointer variable 'variable_name' - this will return value of a 'variable_name' Extra:- swap(a,b) - Call by value swap(&a,&b) - Call by reference
@sudhanshunain4690
@sudhanshunain4690 Жыл бұрын
Thank you so much!!
@herohera3497
@herohera3497 Жыл бұрын
char* can also make pointer variable.
@degenerateweeb1510
@degenerateweeb1510 Жыл бұрын
any data type with star will make a pointer variable which can be used to address a memory location containing data of same data type as pointer@@herohera3497
@nilusingh75
@nilusingh75 3 ай бұрын
@@herohera3497 char *
@shreyaschavhan5522
@shreyaschavhan5522 4 жыл бұрын
Pointers Concept - 0:10 Pointer Arithmetic - 4:10 Pointers and arrays - 6:29 Pointer to pointer - 11:00 Passing pointer to function - 12:55
@ujjwalrockriser
@ujjwalrockriser 3 жыл бұрын
*a++ karne se 2 hi aa rha he par *a += 1 karne se kaam de raha he aur 3 aa rha he, koi agar comment padh raha he to please bata do ye kyun ho raha he please.
@shreyaschavhan5522
@shreyaschavhan5522 3 жыл бұрын
@@ujjwalrockriser Dekho! Hum pointers address store karne ke liye use karte hai! So Jab tum address ko baghaoge i.e. *a++ karoge toh tumhara address next jagah par point karega jaha par kuch nahi hai. and jab tum *a+=1 karte ho tab address nahi increment hota hai, tab a par joh element hai usme 1 add hota hai! bcz jab hum *a++ karte hai tab memory address +2 se badhta hai, and jab hum *a+=1 karte hai tab woh element me 1 add hota hai. Samjhe?
@sanyamratreja5457
@sanyamratreja5457 3 жыл бұрын
@@ujjwalrockriser *a++ ki jagah (*a)++ try krke dekho, mera *a++ se nhi hua tha lekin brackets se kaam krgea,... ab bina brackets k kaam naah krne ka kaarn to meko bhi smjh nhi aaya, aapko smjh aaye to btaana
@ujjwalrockriser
@ujjwalrockriser 3 жыл бұрын
@@sanyamratreja5457 bhai ye comment ke liye tarash gaya tha
@ujjwalrockriser
@ujjwalrockriser 3 жыл бұрын
@@shreyaschavhan5522 achha to ye baat he Thank you bro
@myhp8300
@myhp8300 3 жыл бұрын
The point is we can't increment the pointer directly as *a++; It'll still print a=2 but using (*a)++; gives the incremented value It is somewhat similar to BODMAS rule. We need to dereference the pointer a then increment it Thank me later!
@ahmadhamzakhan8903
@ahmadhamzakhan8903 3 жыл бұрын
Thanks Bro....
@smvillain1725
@smvillain1725 3 жыл бұрын
Thank you so much
@divyanshuranjan1353
@divyanshuranjan1353 3 жыл бұрын
thanks bhai bhot der se pareshan tha iske liye
@Yash-fh7gm
@Yash-fh7gm 3 жыл бұрын
thanks buddy!
@extremesatyaiitjeeair1980
@extremesatyaiitjeeair1980 3 жыл бұрын
thx
@dhruvbhutani9965
@dhruvbhutani9965 4 жыл бұрын
This has become a part of my daily schedule
@ujjwalrockriser
@ujjwalrockriser 3 жыл бұрын
*a++ karne se 2 hi aa rha he par *a += 1 karne se kaam de raha he aur 3 aa rha he, koi agar comment padh raha he to please bata do ye kyun ho raha he please.
@monu_7712
@monu_7712 3 жыл бұрын
@@ujjwalrockriser call by reference dekh lo aa jayega smz
@ujjwalrockriser
@ujjwalrockriser 3 жыл бұрын
@@monu_7712 samjha nahi
@tipsandtricks9526
@tipsandtricks9526 3 жыл бұрын
Same Problem
@viveksingh_01
@viveksingh_01 3 жыл бұрын
@@ujjwalrockriser are bro aisa isliye hai kyunki *a++ karne pe '++' operator ki precendence zyada hoti hai '*' se to vo address ka increment kar deta hai phir uss increased address ko dereference karta hai jisse apna original a same hi rehta hai iss issue ko solve karne ke liye apan ko bas (*a)++ ye likhna hai jisse pehle dereference ho phir increment
@anudeep0129
@anudeep0129 4 жыл бұрын
I don't know why people hate this kind of videos when someone is working so hard doing animation, writing the script, notes, editing the videos etc...etc... for your sake! Why can't we appreciate their work which has a huge impact on our society!!!
@akash-
@akash- 3 жыл бұрын
brother you are absolutely right, but also try to understand that if you are an absolute beginner, then did you understand? a big NO, so that's why some beginners didn't liking it!
@topanalysis6766
@topanalysis6766 3 жыл бұрын
@@akash- grammar pro max ultra op bro
@Mayankkumar-oi4sw
@Mayankkumar-oi4sw 3 жыл бұрын
@@akash- i understood it tho
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/a3fWepRqgtVmntE
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/h4XEmnlug5ucabs
@hareshparab7808
@hareshparab7808 3 жыл бұрын
clg mein samaj nhi aaya par hyaa pe smj aaya actually jab live code example dete hai taab smj ata hai thanks so much
@tonyroy5654
@tonyroy5654 4 жыл бұрын
Sach me ammman sir pagal ho gya hoon me padh ke aisa content koi nhi dega paise le ker bhi love you sir💕🤘😊
@crazyakman0377
@crazyakman0377 4 жыл бұрын
Hmm
@QWERTY-135
@QWERTY-135 4 жыл бұрын
Hitler reacting to IIT-JEE RESULTS -- kzbin.info/www/bejne/e5rSc2aLgJt8iK8
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/a3fWepRqgtVmntE🙏🏻
@akshatchauhan6580
@akshatchauhan6580 3 жыл бұрын
In my opinion, you're the best teacher on Apna College! ( No offense to other teachers, everyone's doing a great job, it's just my personal opinion, I am a slow learner)
@KMMOS1
@KMMOS1 4 жыл бұрын
This video's spoken accent is so strong in Indian English that it detracts from learning.
@khatariinsaan5284
@khatariinsaan5284 3 жыл бұрын
a BIG Thanks to Aman SIr & there Team !! Such a Great Efforts for student's who can't afford colleges or classes without showing any add's between the video
@syedag.fatima6898
@syedag.fatima6898 2 жыл бұрын
Don't get for what I was searching for... but really impressed by your way of teaching its awesome Ma Sha Allah 👍🏻💫
@piyushsatange4655
@piyushsatange4655 4 жыл бұрын
Why you remove all adds we don't want to learn by making anyone financially weak please bro you can add adds and also sponsership
@devplays3200
@devplays3200 4 жыл бұрын
dont worry about his finances he manages it well enough.... not being a hater of him ,, subscribed him for a long time
@harshhingu3082
@harshhingu3082 4 жыл бұрын
@@devplays3200 what are the other things he does to earn money do you know.I am just asking
@piyushsatange4655
@piyushsatange4655 4 жыл бұрын
@@devplays3200 bro I am just saying him that there is no need to compromise at all no one is getting angry for any add
@shlokhinge3179
@shlokhinge3179 4 жыл бұрын
@@harshhingu3082 stock management, seminars in diff collages, affiliated marketing and much more... Our aman bhaiya is all rounder 😎 Their annual income is 7Cr (some plus students were discussing this in comments session)
@mayankkumartiwari2052
@mayankkumartiwari2052 4 жыл бұрын
@@shlokhinge3179 he doesn't charge any penny for seminars, don't spread rumors
@allaboutmovies1730
@allaboutmovies1730 2 жыл бұрын
no one never ever explained something like the way you explained hats off 👌💯
@vinaydeora7834
@vinaydeora7834 4 жыл бұрын
Your videos are extremely helpful thanks a lot to everyone who gave their time, effort and money to make these videos ❤️.
@rakeshrana8570
@rakeshrana8570 5 ай бұрын
Is playlist mai dsa bhi krwaya hai?
@the-qi-world
@the-qi-world 11 ай бұрын
#include Using namespace std; Int swap(int &a,int &b){ Int temp ; Temp = a ; a = b ; b = temp ; }; Int main(){ Int a = 5 ; Int b = 10 ; Cout
@pavansai1895
@pavansai1895 5 ай бұрын
Noo
@the-qi-world
@the-qi-world 5 ай бұрын
@@pavansai1895 and why ?
@ShikshaThisSide
@ShikshaThisSide 2 жыл бұрын
amazing explaination mam, thankyou soo much . i think first time i really understood the concept calling by-value and by-reference .
@debiprasannapattanaik8294
@debiprasannapattanaik8294 2 жыл бұрын
Acchaaa
@kaushalgupta5837
@kaushalgupta5837 3 жыл бұрын
"Aya samajh me thoda thoda was so sweet mam"🤗
@nischayagrawalVlogs
@nischayagrawalVlogs 3 жыл бұрын
haha true
@anuragtyagi1111
@anuragtyagi1111 3 жыл бұрын
When God come to help poor students ❤️
@kanishkbisht5461
@kanishkbisht5461 3 жыл бұрын
@Raunak Singh lol, usko free nahi piracy bolte he. Thats why vo telegram par he aur ye YT.
@only_for_fun1234r
@only_for_fun1234r 3 жыл бұрын
@Raunak Singh where?
@only_for_fun1234r
@only_for_fun1234r 3 жыл бұрын
@Raunak Singh kaha free course h plzz help 🙏🙏
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/a3fWepRqgtVmntE
@UnKnown-id7ih
@UnKnown-id7ih 4 жыл бұрын
Di mza aa gya , now the speed of teaching is very good. I'm loving it. Thanks di and Aman bhiya ❤
@jimcheriyan1801
@jimcheriyan1801 4 жыл бұрын
Please post at least 2 videos per day if possible 🙏 Either way I am blessed to get such amazing tutorials for free
@Rs_durvesh
@Rs_durvesh 4 жыл бұрын
kzbin.info/www/bejne/hpPGhqWpgbl3fJY
@debiprasannapattanaik8294
@debiprasannapattanaik8294 2 жыл бұрын
Haath bhi jodte hoo aur bhik bhi maangte hoo🤣🤣🤣🤣
@jimcheriyan1801
@jimcheriyan1801 2 жыл бұрын
@@debiprasannapattanaik8294Apne Guru ke samne hath jodke bhik mangne me kya hi bura hai
@dishaakalra4503
@dishaakalra4503 4 жыл бұрын
Dii even though other teachers are good too but i understand each topic the most when you explain it. thank you so much
@RahulMishra-mt3cv
@RahulMishra-mt3cv 4 жыл бұрын
Great video, first time in my life I understand the concept of pointers. Thank you so much :D
@debiprasannapattanaik8294
@debiprasannapattanaik8294 2 жыл бұрын
Pehli baar pointer ka video dekho gee toh pehli baar hi samjhoge naa
@GeshuLin_WW
@GeshuLin_WW 3 жыл бұрын
Thanks ma'am, for covering the complete pointer in one video!
@deepakmandal161
@deepakmandal161 Жыл бұрын
Very useful video it clear my doubt of pointers
@harsharyan767
@harsharyan767 3 жыл бұрын
this is the most amazing explanation I have ever seen on pointers. thanks team
@Harjotse
@Harjotse 4 жыл бұрын
Pls provide us some extra questions sheet for each lecture . By the way you and your team is doing great work .
@QWERTY-135
@QWERTY-135 4 жыл бұрын
STAND UP WE NEED {PYTHON}
@QWERTY-135
@QWERTY-135 4 жыл бұрын
Hitler reacting to IIT-JEE RESULTS -- kzbin.info/www/bejne/e5rSc2aLgJt8iK8
@HMMM-o7d
@HMMM-o7d 4 жыл бұрын
@@QWERTY-135 jo mil raha wo le le phle 🤣🤣🤣🤣🤣
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/a3fWepRqgtVmntE
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/a3fWepRqgtVmntE
@uttamkarmakarece3534
@uttamkarmakarece3534 3 жыл бұрын
This channel deserves more subscribers ❤️🔥
@atharvagarwal5367
@atharvagarwal5367 Жыл бұрын
The point is we can't increment the pointer directly as *a++; It'll still print a=2 but using (*a)++; gives the incremented value. *a++ - Post Increment Operator, it first assigns the value and then increases the value later on. If we use ++*a - Pre Increament Operator, then it increase the value first and then assigns the value later on. So on using ++(*a) will give you the correct answer. Thanks !!
@sourabhjain8102
@sourabhjain8102 4 жыл бұрын
If anyone is facing any problem, this can be because ++ has equal precedence with the * and the associativity is right-to-left. You can use ++*a or (*a)++ to specify the order of evaluation.
@Harshit_yt1204
@Harshit_yt1204 3 жыл бұрын
this should be pinned. now i realize how many actually code and how many simply watch the video. Thanks bhaiya.
@RiyaSharma-gd3kk
@RiyaSharma-gd3kk 3 жыл бұрын
Thanks a lot Buddy.😄
@unnatisingh7612
@unnatisingh7612 3 жыл бұрын
this was much needed...thank you so much pal!
@sourabhjain8102
@sourabhjain8102 3 жыл бұрын
@@unnatisingh7612 Thank you so much for going out of your way and commenting this. I was having a really bad day and it really cheered me up!
@unnatisingh7612
@unnatisingh7612 3 жыл бұрын
@@sourabhjain8102 it was my immense pleasure to hear that!!... Keep going buddy !
@VizVinit
@VizVinit 3 жыл бұрын
Pointer to pointer to pointer to pointer.... Inception at max level
@SeemaDevi-zs5ol
@SeemaDevi-zs5ol 3 жыл бұрын
Meri pyari sister.... I am totally jelesh... Your voice because, your voice is amazing😘😘😘😘 Shreya singh
@adityatrehan9838
@adityatrehan9838 3 жыл бұрын
12:32 didi boht sundar hai aapki hadwriting....meri itni dangerous hai ki 5 marks for extra dark handwriting kat jaate the mere school mein
@shikhapriya9498
@shikhapriya9498 Жыл бұрын
Thanks for ur hardwork. The way u explained it's the easier way .
@safarihooo0sh503
@safarihooo0sh503 3 жыл бұрын
this is prolly the best explanation for pointer
@ashishsolanki6948
@ashishsolanki6948 4 жыл бұрын
Awesome Work by Aman dhattarwal sir .
@akshatdwivedi530
@akshatdwivedi530 4 жыл бұрын
This is what kind of lessons I always want.
@akashkashyap8445
@akashkashyap8445 4 жыл бұрын
i am seriously wanting this video and a great thanks to all the team and didi for this video ♥♥
@NamasteCat19
@NamasteCat19 2 жыл бұрын
Shruti didi always explain is very good 👍❤️❤️
@ujjalsingh923
@ujjalsingh923 3 жыл бұрын
Pdhane k sath sath communication sounds bhot accha h
@ece48siddhantmishra25
@ece48siddhantmishra25 3 жыл бұрын
A much simpler approach #include using namespace std; void swap(int& a, int& b){ int temp = a; a=b; b=temp; } int main() { int a=2; int b=4; swap(a,b); cout
@M.YASIR_SHAHZAD
@M.YASIR_SHAHZAD Жыл бұрын
we want SHARDHA DEDI in this video to teach this topic please please THUMBS UP WHO AGREE
@santoshkumarmarar7048
@santoshkumarmarar7048 4 жыл бұрын
Great brother for self taught students
@QWERTY-135
@QWERTY-135 4 жыл бұрын
Hitler reacting to IIT-JEE RESULTS -- kzbin.info/www/bejne/e5rSc2aLgJt8iK8
@hritiksingh233
@hritiksingh233 4 жыл бұрын
19:00 apne wnha addresses bheje hain pointer variable k is liy argument variable wnha pointer type k honge to accept the address coming from function call.
@BhupendraSingh-dw7vz
@BhupendraSingh-dw7vz 3 жыл бұрын
Thnku dii bhut acha smjhaya apne 👍👍
@nikhilguleria4313
@nikhilguleria4313 3 жыл бұрын
This is really good leacture gjb💥🔥
@prajwal_bagewadi
@prajwal_bagewadi 2 жыл бұрын
didi your the best teacher in the world lots of love ❤❤❤❤❤❤❤❤❤❤❤🙏
@VivekWesley
@VivekWesley 4 жыл бұрын
Thanks Aman for the quality content and Thanks for the crystal clear explanation Urvi. 👍
@aniketkumar967
@aniketkumar967 3 жыл бұрын
thankyou di❤❤ finally i understand pointer
@Abhishek-bu4tz
@Abhishek-bu4tz Жыл бұрын
Really very informative video. Thank you for putting the efforts :)
@thesoloentrepreneur07
@thesoloentrepreneur07 3 жыл бұрын
One more easy Way to call #include using namespace std; void Swap(int &a,int &b){ int temp = a; a = b; b = temp; } int main(){ int a = 3, b = 5; Swap(a, b); cout
@moazzimalibhatti
@moazzimalibhatti 9 ай бұрын
Best video ever on pointer
@ujjawalmishra858
@ujjawalmishra858 4 жыл бұрын
Thank You so much bhaiya...and whole ApnaCollegeTeam
@youreview5785
@youreview5785 4 жыл бұрын
Loved her work Like👍👍👍
@cstechsupport259
@cstechsupport259 3 жыл бұрын
good work sister ...your work is good .i impress it . yo u take deeep working
@anmolagrawal28
@anmolagrawal28 4 жыл бұрын
Wow what a great explanation Hats off Aman bhaiya
@QWERTY-135
@QWERTY-135 4 жыл бұрын
Hitler reacting to IIT-JEE RESULTS -- kzbin.info/www/bejne/e5rSc2aLgJt8iK8
@anon35468
@anon35468 2 жыл бұрын
Thank you didi you explained it very beautifully.
@skycoding7854
@skycoding7854 3 жыл бұрын
very well Mam! amaing and effective learning video.
@deepvasoya3648
@deepvasoya3648 4 жыл бұрын
didi kya mst explain kiya he(i mean mem).🔥🔥
@elements8630
@elements8630 3 жыл бұрын
i used to always get confused with pointers. not anymore. good video
@omleen3187
@omleen3187 Жыл бұрын
How to understand the content in English? Subtitles aren't available!
@DeveloperX
@DeveloperX 3 жыл бұрын
finally, understood the pass-by reference concept functionality.
@mikansenpai2280
@mikansenpai2280 3 жыл бұрын
Are didi after 3 years of coding today i understood why i use & in scanf () in c And that switch from call by value to call my reference was pretty smooth Thank you apna kaksha team ...i love you guys
@suman-majhi
@suman-majhi 4 жыл бұрын
One notable point is that 1. int *ptr=&a; 2. *ptr=&a; Here line 1 and 2 is not same thing
@jimcheriyan1801
@jimcheriyan1801 4 жыл бұрын
Right
@it41tanmayaron26
@it41tanmayaron26 4 жыл бұрын
@@jimcheriyan1801 what's the difference?
@anishdulal3362
@anishdulal3362 4 жыл бұрын
@@it41tanmayaron26 1 is correct bcuz we hav t o declare pointers type too
@TricknologyHub
@TricknologyHub 4 жыл бұрын
No you can't use *ptr = &a as it is different. In Int *ptr , *ptr is no a variable only ptr is a variable. U can also write it as int** ptr. Int* is not integer data type, it is a integer type data type for storing address of a int variable.
@it41tanmayaron26
@it41tanmayaron26 4 жыл бұрын
@@TricknologyHub ok, so 2nd is wrong
@amitanand6683
@amitanand6683 2 жыл бұрын
14:10 agar int type ki function banna kar return a kara lein aur value ko again a me store kar lein tab toh baat ban jaayegi na?? int increment(int a){ a++; return a; } a = increment(a);
@arjunyadav-kt5jr
@arjunyadav-kt5jr 2 жыл бұрын
she sounds so clear to me!
@narayanchakrawarti3437
@narayanchakrawarti3437 4 жыл бұрын
Thanku soo much Aman Bhaiya ji 🤗 & Ma'am ji
@prasantcp
@prasantcp 2 жыл бұрын
One of the best explanation !
@sanchitraj582
@sanchitraj582 4 жыл бұрын
Bhaiya your videos are awesome , always motivate me ❤😇
@all_gaming9682
@all_gaming9682 3 жыл бұрын
This is the amazing bole to next level🤘
@AnandKumar-cm3jq
@AnandKumar-cm3jq 2 ай бұрын
Thanks for this wonderful video
@abodisom_official
@abodisom_official 10 ай бұрын
Advance 5 million congratulations
@ANSYoutube
@ANSYoutube 4 жыл бұрын
In few years competition in coding will be like jee .Credit goes to Online educators for providing quality content for free .🙂😁😎
@aryanoberoi
@aryanoberoi 4 жыл бұрын
really? and you consider that a good thing?
@flsh1343
@flsh1343 4 жыл бұрын
@@aryanoberoi Obviously good(for doers) , sad for fellow lazy peoples
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/a3fWepRqgtVmntE
@rameshmalhotra9525
@rameshmalhotra9525 2 жыл бұрын
kzbin.info/www/bejne/h4XEmnlug5ucabs
@archanakalathiya2081
@archanakalathiya2081 Жыл бұрын
I apologize for any confusion, but the program you provided is an example of 'pass by address,' not 'pass by reference,' as it's important to use the correct terminology in programming.
@mohammedraqeeb4392
@mohammedraqeeb4392 4 жыл бұрын
Massive shout out to Aman bhaiya. At some point in life, I'd love to meet you
@deepakmehta2805
@deepakmehta2805 2 жыл бұрын
Program to Increment variable using Pointers:- #include using namespace std; void increment(int *a){ (*a)++; } int main(){ int a=2; increment(&a); cout
@SonGoku-gm9wx
@SonGoku-gm9wx 2 жыл бұрын
thanks bro
@deepakmodi9343
@deepakmodi9343 2 жыл бұрын
thanks
@VikasArya-cz9qs
@VikasArya-cz9qs Жыл бұрын
Printers are the variables that stores the value of other variables
@goldentime4910
@goldentime4910 2 жыл бұрын
Ma'am ek number samjhaya
@ishanksharma2785
@ishanksharma2785 4 жыл бұрын
Give credits to the person teaching in the description as well. Great Video!
@kartikpadaliya7455
@kartikpadaliya7455 4 жыл бұрын
Love you, kaksha❤️
@QWERTY-135
@QWERTY-135 4 жыл бұрын
Hitler reacting to IIT-JEE RESULTS -- kzbin.info/www/bejne/e5rSc2aLgJt8iK8
@yogendrakesharwani3650
@yogendrakesharwani3650 3 жыл бұрын
Cout
@himanshugupta325
@himanshugupta325 3 жыл бұрын
Ab samaj aaya pointers. Sahi bolu pointers aur undefined behaviour sabse confuse karni wali cheze hai C++ mai.
@simplesolutions2621
@simplesolutions2621 3 жыл бұрын
Excellent explanation! 👍
@Zazbaateditz2307
@Zazbaateditz2307 4 жыл бұрын
Thanks sir for this course it is very helpful
@QWERTY-135
@QWERTY-135 4 жыл бұрын
Hitler reacting to IIT-JEE RESULTS -- kzbin.info/www/bejne/e5rSc2aLgJt8iK8
@shahnoorraza8514
@shahnoorraza8514 3 жыл бұрын
*Program to Increment variable using Pointers: #include using namespace std; void increment(int *x); int main() { int x = 2; increment(&x); //Pass by Reference cout
@sagarmotwani2833
@sagarmotwani2833 3 жыл бұрын
Bro smj nhi aaya
@harshjha5966
@harshjha5966 3 жыл бұрын
kya mast padhaya hai didi......
@riteshchoudhary6041
@riteshchoudhary6041 4 жыл бұрын
❤❤❤❤ loved as always
@QWERTY-135
@QWERTY-135 4 жыл бұрын
Hitler reacting to IIT-JEE RESULTS -- kzbin.info/www/bejne/e5rSc2aLgJt8iK8
@ashwinvarma9349
@ashwinvarma9349 4 жыл бұрын
correction at 16:51. You are passing addresses of pointers, not the pointers themselves
@QWERTY-135
@QWERTY-135 4 жыл бұрын
Hitler reacting to IIT-JEE RESULTS -- kzbin.info/www/bejne/e5rSc2aLgJt8iK8
@rutvikrana512
@rutvikrana512 4 жыл бұрын
Yep 👍 Functions only accept values. Here it’s value of pointer which is address of variable.
@starkendeavours7072
@starkendeavours7072 4 жыл бұрын
Those pointers are containing the addresses of variables, so whether you pass addresses or pass pointers itself since an indirection operator is used so there is no problem.
@AshishKumar-jc9nq
@AshishKumar-jc9nq 4 жыл бұрын
I am confused only mam's lectures are more explainable to me than sir's lectures but overall lectures are awesome
@parthdholariya1941
@parthdholariya1941 3 жыл бұрын
Don't worry your writing is too good👍
@lfcpratiksharma105
@lfcpratiksharma105 4 жыл бұрын
10:32 pe same doubt tha mera🤣🔥
@changelife9847
@changelife9847 4 жыл бұрын
Thank you Sir and Mam.Please make a video on types of pointers and diversified applications.
@ajaymore2693
@ajaymore2693 2 жыл бұрын
Bro In which year you are currently?
@anmolsingh9269
@anmolsingh9269 3 жыл бұрын
#include using namespace std; void increment(int *a) { ++*a; } int main() { int a=2; int *ptr=&a; increment(ptr); cout
@_DhirajDurande
@_DhirajDurande Жыл бұрын
but still answer is same ?? ya change??
@AnakinGaming07
@AnakinGaming07 Жыл бұрын
Samjh me aya thoda thoda.❤❤
@iamsuuraj
@iamsuuraj 3 жыл бұрын
Pointer Concept: 0:10
@arafatkhan5489
@arafatkhan5489 3 жыл бұрын
Shukriya bhaii hum tau dhund hi nahi paa rahe tha XD
@snipbrogaming
@snipbrogaming 3 ай бұрын
😂​@@arafatkhan5489
@MangoLassiYT
@MangoLassiYT 3 жыл бұрын
At 12:58 we can modify and output value of a without using pointers like this #include using namespace std; void increment(int a) { a++; cout
@rahul-java-dev
@rahul-java-dev 3 жыл бұрын
Thank you so much ma'am. 🙏🙏
@twinkletwinkle9214
@twinkletwinkle9214 4 жыл бұрын
Thank you Aman sir ☺
@bhaviksojitra07
@bhaviksojitra07 4 жыл бұрын
#include using namespace std; void increment(int a){ a++; } int main(){ int a=2; increment(a); cout
@mridulrajbhar12
@mridulrajbhar12 4 жыл бұрын
Please make a tutorial on volatile keyword. It is bit confusing topic
@manthandubey5299
@manthandubey5299 3 жыл бұрын
#include using namespace std; void swap(int *a){ (*a)++; } int main() { int a=5; swap(&a); cout
@dipeshsharma7505
@dipeshsharma7505 3 жыл бұрын
finally didi is back again
12. Stack & Heap | C++ Placement Course
11:02
Apna College
Рет қаралды 394 М.
you will never ask about pointers again after watching this video
8:03
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Pointers in C++ | C++ Tutorials for Beginners #12
16:39
CodeWithHarry
Рет қаралды 1 МЛН
6.1 Functions in C++ | Guaranteed Placement Course
8:11
Apna College
Рет қаралды 940 М.
Pointers in C++ | In Detail | DSA Series by Shradha Ma'am
46:08
Apna College
Рет қаралды 120 М.
Why People Quit Coding? 3 Major Reasons
17:36
Apna College
Рет қаралды 1,6 МЛН
C_71 Pointers in C - part 1| Introduction to pointers in C | C Programming Tutorials
17:02
Weak Pointers in C++ (std::weak_ptr)
17:25
The Cherno
Рет қаралды 61 М.
8.1 Introduction to Arrays in C++ | Guaranteed Placement Course
12:32
Apna College
Рет қаралды 1 МЛН
C++ Pointers - Finally Understand Pointers
15:56
Caleb Curry
Рет қаралды 221 М.
POINTERS in C++
16:59
The Cherno
Рет қаралды 1 МЛН
C++ pointers explained easy 👈
5:16
Bro Code
Рет қаралды 60 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН