11. Pointers in C++ | Guaranteed Placement Course

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 676

  • @galax5130
    @galax5130 Год назад +167

    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 Год назад +3

      Thank you so much!!

    • @herohera3497
      @herohera3497 Год назад +2

      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 Месяц назад

      @@herohera3497 char *

  • @myhp8300
    @myhp8300 3 года назад +277

    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!

  • @dhruvbhutani9965
    @dhruvbhutani9965 4 года назад +215

    This has become a part of my daily schedule

    • @ujjwalrockriser
      @ujjwalrockriser 3 года назад +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 года назад +2

      @@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 года назад +5

      @@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

  • @shreyaschavhan5522
    @shreyaschavhan5522 3 года назад +308

    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 года назад +2

      *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 года назад +4

      @@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 года назад +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 года назад +1

      @@sanyamratreja5457 bhai ye comment ke liye tarash gaya tha

    • @ujjwalrockriser
      @ujjwalrockriser 3 года назад +1

      @@shreyaschavhan5522 achha to ye baat he
      Thank you bro

  • @khatariinsaan5284
    @khatariinsaan5284 3 года назад +8

    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

  • @piyushsatange4655
    @piyushsatange4655 4 года назад +483

    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 года назад +51

      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 года назад +6

      @@devplays3200 what are the other things he does to earn money do you know.I am just asking

    • @piyushsatange4655
      @piyushsatange4655 4 года назад +9

      @@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 года назад +13

      @@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 года назад +20

      @@shlokhinge3179 he doesn't charge any penny for seminars, don't spread rumors

  • @anudeep0129
    @anudeep0129 3 года назад +94

    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 года назад +13

      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 2 года назад +2

      @@akash- grammar pro max ultra op bro

    • @Mayankkumar-oi4sw
      @Mayankkumar-oi4sw 2 года назад +2

      @@akash- i understood it tho

    • @rameshmalhotra9525
      @rameshmalhotra9525 2 года назад

      ruclips.net/video/5FsIa4Mp3ho/видео.html

    • @rameshmalhotra9525
      @rameshmalhotra9525 2 года назад

      ruclips.net/video/QTaiF8N6i3Y/видео.html

  • @hareshparab7808
    @hareshparab7808 3 года назад +1

    clg mein samaj nhi aaya par hyaa pe smj aaya actually jab live code example dete hai taab smj ata hai thanks so much

  • @vinaydeora7834
    @vinaydeora7834 4 года назад +16

    Your videos are extremely helpful thanks a lot to everyone who gave their time, effort and money to make these videos ❤️.

    • @rakeshrana8570
      @rakeshrana8570 2 месяца назад

      Is playlist mai dsa bhi krwaya hai?

  • @ShikshaThisSide
    @ShikshaThisSide 2 года назад +4

    amazing explaination mam, thankyou soo much .
    i think first time i really understood the concept calling by-value and by-reference .

  • @syedag.fatima6898
    @syedag.fatima6898 2 года назад +14

    Don't get for what I was searching for... but really impressed by your way of teaching its awesome Ma Sha Allah 👍🏻💫

  • @allaboutmovies1730
    @allaboutmovies1730 Год назад +2

    no one never ever explained something like the way you explained hats off 👌💯

  • @tonyroy5654
    @tonyroy5654 4 года назад +32

    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 года назад +1

      Hmm

    • @mdateeque3997
      @mdateeque3997 4 года назад

      Hitler reacting to IIT-JEE RESULTS -- ruclips.net/video/EioB3UK6IRM/видео.html

    • @rameshmalhotra9525
      @rameshmalhotra9525 2 года назад

      ruclips.net/video/5FsIa4Mp3ho/видео.html🙏🏻

  • @KMMOS1
    @KMMOS1 3 года назад +1

    This video's spoken accent is so strong in Indian English that it detracts from learning.

  • @sourabhjain8102
    @sourabhjain8102 3 года назад +5

    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 года назад +1

      @@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 !

  • @akshatchauhan6580
    @akshatchauhan6580 3 года назад +5

    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)

  • @atharvagarwal5367
    @atharvagarwal5367 Год назад +1

    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 !!

  • @the-qi-world
    @the-qi-world 8 месяцев назад +2

    #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

  • @Harjotse
    @Harjotse 4 года назад +89

    Pls provide us some extra questions sheet for each lecture .
    By the way you and your team is doing great work .

    • @mdateeque3997
      @mdateeque3997 4 года назад +1

      STAND UP WE NEED {PYTHON}

    • @mdateeque3997
      @mdateeque3997 4 года назад +1

      Hitler reacting to IIT-JEE RESULTS -- ruclips.net/video/EioB3UK6IRM/видео.html

    • @prankushsharma2588
      @prankushsharma2588 4 года назад +3

      @@mdateeque3997 jo mil raha wo le le phle 🤣🤣🤣🤣🤣

    • @rameshmalhotra9525
      @rameshmalhotra9525 2 года назад

      ruclips.net/video/5FsIa4Mp3ho/видео.html

    • @rameshmalhotra9525
      @rameshmalhotra9525 2 года назад

      ruclips.net/video/5FsIa4Mp3ho/видео.html

  • @jimcheriyan1801
    @jimcheriyan1801 4 года назад +51

    Please post at least 2 videos per day if possible 🙏 Either way I am blessed to get such amazing tutorials for free

    • @durveshpal
      @durveshpal 3 года назад

      ruclips.net/video/PbcUrsLTDF4/видео.html

    • @debiprasannapattanaik8294
      @debiprasannapattanaik8294 2 года назад +1

      Haath bhi jodte hoo aur bhik bhi maangte hoo🤣🤣🤣🤣

    • @jimcheriyan1801
      @jimcheriyan1801 2 года назад +4

      @@debiprasannapattanaik8294Apne Guru ke samne hath jodke bhik mangne me kya hi bura hai

  • @dishaakalra4503
    @dishaakalra4503 3 года назад +11

    Dii even though other teachers are good too but i understand each topic the most when you explain it. thank you so much

  • @GeshuLin_WW
    @GeshuLin_WW 3 года назад +4

    Thanks ma'am, for covering the complete pointer in one video!

  • @RahulMishra-mt3cv
    @RahulMishra-mt3cv 3 года назад +3

    Great video, first time in my life I understand the concept of pointers. Thank you so much :D

  • @UnKnown-id7ih
    @UnKnown-id7ih 4 года назад +2

    Di mza aa gya , now the speed of teaching is very good. I'm loving it. Thanks di and Aman bhiya ❤

  • @akashkashyap8445
    @akashkashyap8445 3 года назад +2

    i am seriously wanting this video and a great thanks to all the team and didi for this video ♥♥

  • @deepakmandal161
    @deepakmandal161 Год назад +1

    Very useful video it clear my doubt of pointers

  • @shikhapriya9498
    @shikhapriya9498 Год назад

    Thanks for ur hardwork. The way u explained it's the easier way .

  • @uttamkarmakarece3534
    @uttamkarmakarece3534 3 года назад +4

    This channel deserves more subscribers ❤️🔥

  • @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.

  • @harsharyan767
    @harsharyan767 3 года назад +4

    this is the most amazing explanation I have ever seen on pointers.
    thanks team

  • @anuragtyagi1111
    @anuragtyagi1111 3 года назад +28

    When God come to help poor students ❤️

    • @kanishkbisht5461
      @kanishkbisht5461 3 года назад +1

      @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 года назад

      ruclips.net/video/5FsIa4Mp3ho/видео.html

  • @kaushalgupta5837
    @kaushalgupta5837 3 года назад +11

    "Aya samajh me thoda thoda was so sweet mam"🤗

  • @BhupendraSingh-dw7vz
    @BhupendraSingh-dw7vz 3 года назад +1

    Thnku dii bhut acha smjhaya apne 👍👍

  • @moazzimalibhatti
    @moazzimalibhatti 7 месяцев назад +1

    Best video ever on pointer

  • @SeemaDevi-zs5ol
    @SeemaDevi-zs5ol 3 года назад +1

    Meri pyari sister.... I am totally jelesh... Your voice because, your voice is amazing😘😘😘😘 Shreya singh

  • @VizVinit
    @VizVinit 3 года назад

    Pointer to pointer to pointer to pointer....
    Inception at max level

  • @suman-majhi
    @suman-majhi 4 года назад +8

    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 года назад +1

      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

  • @ece48siddhantmishra25
    @ece48siddhantmishra25 3 года назад +1

    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

  • @santoshkumarmarar7048
    @santoshkumarmarar7048 4 года назад +2

    Great brother for self taught students

    • @mdateeque3997
      @mdateeque3997 4 года назад

      Hitler reacting to IIT-JEE RESULTS -- ruclips.net/video/EioB3UK6IRM/видео.html

  • @NamasteCat19
    @NamasteCat19 Год назад

    Shruti didi always explain is very good 👍❤️❤️

  • @arjunyadav-kt5jr
    @arjunyadav-kt5jr 2 года назад

    she sounds so clear to me!

  • @safarihooo0sh503
    @safarihooo0sh503 3 года назад

    this is prolly the best explanation for pointer

  • @ashishsolanki6948
    @ashishsolanki6948 4 года назад

    Awesome Work by Aman dhattarwal sir .

  • @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

  • @VikasArya-cz9qs
    @VikasArya-cz9qs Год назад

    Printers are the variables that stores the value of other variables

  • @deepakmehta2805
    @deepakmehta2805 2 года назад +1

    Program to Increment variable using Pointers:-
    #include
    using namespace std;
    void increment(int *a){
    (*a)++;
    }
    int main(){
    int a=2;
    increment(&a);
    cout

  • @ujjalsingh923
    @ujjalsingh923 3 года назад

    Pdhane k sath sath communication sounds bhot accha h

  • @AnandKumar-cm3jq
    @AnandKumar-cm3jq 6 дней назад

    Thanks for this wonderful video

  • @anon35468
    @anon35468 2 года назад

    Thank you didi you explained it very beautifully.

  • @M.YASIR_SHAHZAD
    @M.YASIR_SHAHZAD Год назад +2

    we want SHARDHA DEDI in this video to teach this topic please please
    THUMBS UP WHO AGREE

  • @shahnoorraza8514
    @shahnoorraza8514 3 года назад +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

  • @youreview5785
    @youreview5785 4 года назад +3

    Loved her work
    Like👍👍👍

  • @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!

  • @VivekWesley
    @VivekWesley 4 года назад +1

    Thanks Aman for the quality content and Thanks for the crystal clear explanation Urvi. 👍

  • @aniketkumar967
    @aniketkumar967 3 года назад +1

    thankyou di❤❤ finally i understand pointer

  • @prajwal_bagewadi
    @prajwal_bagewadi 2 года назад

    didi your the best teacher in the world lots of love ❤❤❤❤❤❤❤❤❤❤❤🙏

  • @akshatdwivedi530
    @akshatdwivedi530 3 года назад +6

    This is what kind of lessons I always want.

  • @thesoloentrepreneur07
    @thesoloentrepreneur07 3 года назад +1

    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

  • @prasantcp
    @prasantcp 2 года назад

    One of the best explanation !

  • @Abhishek-bu4tz
    @Abhishek-bu4tz Год назад

    Really very informative video. Thank you for putting the efforts :)

  • @changelife9847
    @changelife9847 4 года назад +1

    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?

  • @anmolagrawal28
    @anmolagrawal28 4 года назад

    Wow what a great explanation
    Hats off Aman bhaiya

    • @mdateeque3997
      @mdateeque3997 4 года назад

      Hitler reacting to IIT-JEE RESULTS -- ruclips.net/video/EioB3UK6IRM/видео.html

  • @goldentime4910
    @goldentime4910 2 года назад

    Ma'am ek number samjhaya

  • @cstechsupport259
    @cstechsupport259 3 года назад

    good work sister ...your work is good .i impress it . yo u take deeep working

  • @narayanchakrawarti3437
    @narayanchakrawarti3437 4 года назад

    Thanku soo much Aman Bhaiya ji 🤗 & Ma'am ji

  • @abodisom_official
    @abodisom_official 8 месяцев назад

    Advance 5 million congratulations

  • @ujjawalmishra858
    @ujjawalmishra858 4 года назад

    Thank You so much bhaiya...and whole ApnaCollegeTeam

  • @harshjha5966
    @harshjha5966 3 года назад

    kya mast padhaya hai didi......

  • @nikhilguleria4313
    @nikhilguleria4313 3 года назад +1

    This is really good leacture gjb💥🔥

  • @ishanksharma2785
    @ishanksharma2785 4 года назад +2

    Give credits to the person teaching in the description as well. Great Video!

  • @abhisheksrivastava9788
    @abhisheksrivastava9788 3 года назад

    We can't directly increment *a++ because it follows bodmas rule. Here ++ has more precedence than * operator, So it does not update the value. To update the value the use (*a)++ .😀😀

  • @skycoding7854
    @skycoding7854 2 года назад

    very well Mam! amaing and effective learning video.

  • @DeveloperX
    @DeveloperX 3 года назад

    finally, understood the pass-by reference concept functionality.

  • @mohammedraqeeb4392
    @mohammedraqeeb4392 3 года назад +2

    Massive shout out to Aman bhaiya. At some point in life, I'd love to meet you

  • @sanchitraj582
    @sanchitraj582 4 года назад +1

    Bhaiya your videos are awesome , always motivate me ❤😇

  • @hritiksingh233
    @hritiksingh233 4 года назад +1

    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.

  • @Zazbaateditz2307
    @Zazbaateditz2307 4 года назад +1

    Thanks sir for this course it is very helpful

    • @mdateeque3997
      @mdateeque3997 4 года назад

      Hitler reacting to IIT-JEE RESULTS -- ruclips.net/video/EioB3UK6IRM/видео.html

  • @harsh_kumar8860
    @harsh_kumar8860 3 года назад +3

    Is it just me who can't access to the links given in pdf or they actually ain't link?

  • @ishmartishtiaq371
    @ishmartishtiaq371 3 года назад +3

    lecture is very nice can you please tell the short cuts too...

  • @simplesolutions2621
    @simplesolutions2621 3 года назад +1

    Excellent explanation! 👍

  • @himanshugupta325
    @himanshugupta325 3 года назад

    Ab samaj aaya pointers. Sahi bolu pointers aur undefined behaviour sabse confuse karni wali cheze hai C++ mai.

  • @kartikpadaliya7455
    @kartikpadaliya7455 4 года назад +4

    Love you, kaksha❤️

    • @mdateeque3997
      @mdateeque3997 4 года назад

      Hitler reacting to IIT-JEE RESULTS -- ruclips.net/video/EioB3UK6IRM/видео.html

  • @keshavkhandelwal2243
    @keshavkhandelwal2243 4 года назад +25

    Sir, your team skip string topic according your timeline of c++ pdf

    • @mdateeque3997
      @mdateeque3997 4 года назад

      Hitler reacting to IIT-JEE RESULTS -- ruclips.net/video/EioB3UK6IRM/видео.html

    • @SastaDopamines
      @SastaDopamines 4 года назад +5

      @@beastman1927 Coding ninja ki course free mein mili hai?

    • @SastaDopamines
      @SastaDopamines 4 года назад +1

      @@beastman1927 Bata bro, did u get it in free or it is a paid course?

    • @HarshKumar-kv3xs
      @HarshKumar-kv3xs 4 года назад +2

      @@beastman1927 its the first lesson and pointer will be covered in most extensive way.

    • @jimcheriyan1801
      @jimcheriyan1801 4 года назад +2

      @@SastaDopamines no bro coding ninjas charge a lot

  • @shubhamdeswal
    @shubhamdeswal Год назад

    The code for pointers with explanation is here:
    #include
    using namespace std;

    int main(){
    int a = 10;
    cout

    • @shubhamdeswal
      @shubhamdeswal Год назад

      void keyword is used when the function has no return value

  • @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

  • @gouravdutta9464
    @gouravdutta9464 2 года назад +1

    Tysm didi😊♥️

  • @anmolsingh9269
    @anmolsingh9269 3 года назад +1

    #include
    using namespace std;
    void increment(int *a)
    {
    ++*a;
    }
    int main()
    {
    int a=2;
    int *ptr=&a;
    increment(ptr);
    cout

  • @amitanand6683
    @amitanand6683 2 года назад +1

    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);

  • @mridulrajbhar12
    @mridulrajbhar12 4 года назад +3

    Please make a tutorial on volatile keyword. It is bit confusing topic

  • @yogendrakesharwani3650
    @yogendrakesharwani3650 2 года назад

    Cout

  • @deepvasoya3648
    @deepvasoya3648 3 года назад

    didi kya mst explain kiya he(i mean mem).🔥🔥

  • @UzairAbdullah-b4w
    @UzairAbdullah-b4w Год назад

    you did a mistake ...if we print char data type through cptr..(cout

  • @rahul-java-dev
    @rahul-java-dev 2 года назад

    Thank you so much ma'am. 🙏🙏

  • @UIExperts-G9
    @UIExperts-G9 5 месяцев назад

    Great work ❤

  • @syedghulamhassansherazi8028
    @syedghulamhassansherazi8028 Месяц назад

    simple agar hum a=10; cout

  • @sopnilshinde985
    @sopnilshinde985 Год назад

    It will be great if you will share which stylus you are using with your macbook-Air while recording videos
    As I can see Its URVI's Macbook-Air

  • @twinkletwinkle9214
    @twinkletwinkle9214 4 года назад +1

    Thank you Aman sir ☺

  • @riteshchoudhary6041
    @riteshchoudhary6041 4 года назад +2

    ❤❤❤❤ loved as always

    • @mdateeque3997
      @mdateeque3997 4 года назад

      Hitler reacting to IIT-JEE RESULTS -- ruclips.net/video/EioB3UK6IRM/видео.html

  • @all_gaming9682
    @all_gaming9682 3 года назад +1

    This is the amazing bole to next level🤘

  • @mahdiasif5647
    @mahdiasif5647 Год назад

    last one solve :
    #include
    using namespace std;
    void increement(int *a)
    { *a++;}
    void swap (int *a, int *b)
    { int temp = *a;
    *a = *b;
    *b = temp;
    }
    int main()
    { int a = 2 ;
    int b = 4;
    int *aptr = &a;
    int *bptr = &b;
    swap(aptr,bptr);
    cout