C_73 Pointers in C- part 3 | Pointer Assignment

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

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

  • @Userx123-z3m
    @Userx123-z3m 8 месяцев назад +4

    it's been 2 years now an this playlist with all the videos including this one, and this is litterlarly a life saver, it's a clue that your method of learning is awesome thanx a lot it's 2024 and i watch this to learn the things that the teacher in college didn't said. Thank you again ma'am i appreciate your effort :)

  • @tejasgiri1650
    @tejasgiri1650 3 года назад +21

    02:14 video starts

  • @124priyanshuverma9
    @124priyanshuverma9 2 года назад +57

    On behalf of all cse students..
    Thanks a lot ma'am... ❤️

  • @kmanish2528
    @kmanish2528 2 года назад +55

    Hope a good teacher like u comes in our college tooo😢

    • @user-tb5ej3fe8d
      @user-tb5ej3fe8d 27 дней назад

      Which clg bro

    • @Mark85_06
      @Mark85_06 8 дней назад

      ​@@user-tb5ej3fe8d😢 Bro, you're asking after 2 years, by now he must have already passed out.

    • @user-tb5ej3fe8d
      @user-tb5ej3fe8d 2 дня назад

      @@Mark85_06 what about enquiring about his clg

  • @g.nirmalkumar5773
    @g.nirmalkumar5773 3 года назад +11

    One of the best explaination for pointers

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

    Mam literally I am addicted to your voice

  • @mani6896
    @mani6896 2 года назад +18

    On behalf of all royal mechanical students..
    Thanks a lot ma'am....❤❤❤❤

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

    Thinking about your videos and when I opened RUclips you was right there at first 🥇

  • @codeanalysis7085
    @codeanalysis7085 3 года назад +7

    Thank you ma'am for your best information about pointer in C. Because I have some doubts in pointers.

  • @_gayatrrii_
    @_gayatrrii_ 5 месяцев назад +1

    i'm so grateful for that i found your channel
    tysm mam

  • @kashishrocks
    @kashishrocks 8 месяцев назад +2

    9:17 mow this workswithout any warning.

  • @RishiVaish-ym1nr
    @RishiVaish-ym1nr 2 месяца назад

    Thank you so much ma'am 🌟 🌱
    Your lectures are very helpful and good 😇

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

    Mam I am a student of fybca in ahmednagar maharastra
    You have made this chp very simple and easy
    So, Thank you very much mam🙇🙇🙇🙏🙏🙏

  • @ASatyanarayana9000
    @ASatyanarayana9000 7 месяцев назад +2

    #include
    int main()
    {
    int a=10,b=11;
    int *p,*q;
    p=&a;
    *q=*p;
    printf("a=%d %d %d", a,*p,*q);
    }
    output is coming as:
    a=10 10 10 // without initializing q

    • @ashasaini1082
      @ashasaini1082 7 месяцев назад

      No it's not giving output

    • @ASatyanarayana9000
      @ASatyanarayana9000 7 месяцев назад

      @@ashasaini1082in my laptop it's giving 10 10 10

    • @sandhyasingh7101
      @sandhyasingh7101 4 месяца назад +1

      because of assignment operator the value of *p is assigning to *q that's y 10 is coming

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

    Thanks mam I understand very well
    Your teaching is very nice 👌👌

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

    you teaching is just bomb🎇🎇🎇

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

    mam waited for pointers for a long time thanks for start uploading mam!!.please post all videos as soon as possible mam.please try to upload 2 videos per day mam.Thank you mam.

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

    Mam at time line 10:59 the error you got regarding execution of program....while using turbo c++ no error is encountered and it's output is also coming....

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

    thank you mam ,its more helpful for the in my life

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 3 года назад

    Bonding signature is correct.,
    It is an example of algorithm coding.
    It will take any adress in this program right

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

    And congratulations for completing 513k subscriber 🎉

  • @kiranmagenti3235
    @kiranmagenti3235 24 дня назад +1

    Mama what about 11 it's completely terminted

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

    Reviewing pointers for Data Structers lesson, i learned more than i knew thanks (bu hoca bir müthiş dostum 5.11.2022)

  • @darineesh.r66
    @darineesh.r66 5 месяцев назад +2

    Which app ur using to code in your computer...or any c compiler is good means suggest

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

      Turbo C or Dev C++

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

    Ma'am
    C_72 pointers part3 video is not there in play list ma'am

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

    thanks mam u r the angel for c

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

    C_72 pointers part 2 :- ruclips.net/video/qqRUp28pPFk/видео.html

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

    Jenny Addict😍😍😍😍vijisekar from chennai

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

    Nandri mam... Luv from TAMILNADU 😍

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

    Thank you so much Mam 🙏

  • @YuvrajSingh-th7vw
    @YuvrajSingh-th7vw 3 года назад +1

    Ma'am please make video on calloc malloc and relloc

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

    Thanks for your efforts mam

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 3 года назад

    First of all you have to observe algorithm coding o1 is not transfer to a given statements a b, available statements pand q right
    It is transfer the program is ❌

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

    I think it gives same error like when you forget & in scanf for variable, accessing some memory which isn't allowed, illegal acess

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

    Thanks a lot Mam for this lecture!!!

  • @ogfactboy1977
    @ogfactboy1977 21 час назад

    Mam what will happen if i declare p as a int potiner and q as float pointer but done like this
    P=&a; //which is pointing to integer.
    q=p; // will this is lligal?

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

    I'm from 12 commerce but I'm watching because of you🥺

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

    but ma'am ,my laptop is showing this output, not comes any error but why??
    #include
    int main()
    {
    int a=10,b=5;
    int *p,*q;
    p=&a;
    *q=*p;
    printf("%d\t%d\t%d\t",a,*p,*q);
    return 0;
    }
    PS C:\Users\ASUS\OneDrive\Desktop\Anupam C Programming> gcc pointer.c
    PS C:\Users\ASUS\OneDrive\Desktop\Anupam C Programming> .\a.exe
    10 10 10

    • @Furious_footballs
      @Furious_footballs 11 месяцев назад

      q = &b;
      Bro, you should have to include this line then only it will be executed correctly.

  • @AjitKumar-bk3cb
    @AjitKumar-bk3cb 3 года назад +1

    maam where is c-72 part-2 of pointer lecture in this series

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

    Simple pointer to ma'am you made a hauaa👻
    but good way to understand

  • @HarineshSelvakumar-g3x
    @HarineshSelvakumar-g3x Год назад

    Mam, I think the q pointer is given with double** to get value 10

  • @RISHI.G-d3m
    @RISHI.G-d3m Месяц назад

    Mam but for me in visual code editor if I put *q=*p without doing q=&b it is giving me the answer is 10

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

    Great presentation

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

    thanks,you are the best .

  • @KeerthiGovindasu
    @KeerthiGovindasu 4 месяца назад

    Thank you maam

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

    Mam after first paid subscription we can see any lectures, are those available?

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

    just a confusion on how you use printf to access your answers, what is the difference between printf and cout?

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

    Mam I have tried *q=*p without initializing q=&b in online c compiler.It is printing 10 for a,*p,*q mam.

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

    ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

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

    Please if anyone could explain to me:
    I don't understand why there was an error after (*q = *p)?
    aren't they the same datatype? they're variable of pointer referring to an int value? And above this line we declared q already? (int *q)? So why (*q = *p) caused an error?

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

      you are crt.Same doubt I too have.

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

      Because haven't given any value to which q can point and that is why it's not possible to override the value at *q

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

      first thing is that it is not giving error.😉

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

    Part 2 of pointers concept is not uploaded?

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

    Please 🙏 🙏 🙏 madam after complete c programming we need GTK+ FOR C PROGRAMMING 🙏 😢

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

    *WHAT WILL HAPPEN IF WE ASSIGN A POINTER ADDRESS TO A POINTER* i am talking about this expression - > q = &p;

  • @bein-korea
    @bein-korea Год назад

    Why do we use pointers? although it is slower ?

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

    What is benifit of pointer

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

      Pointer reduce storage space and complexity of the program also reduce execution time

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

    Astric q=astric p which means the value at address q is 10 only is there any mistake mam from myside

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

      hey! I did the program on my computer .the value of q is also 10 as the value at p i.e 10 is assigned to the value of q.

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

    Mam if we take p=q it is giving output 10 1 1 ...can you explain please

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 3 года назад

    You don't take a q -adresso b,
    This is totally wrong programs ( but it is not an error)
    Printf result is not founding in this programs right

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

    At 12.55, in code blocks it is running not showing any error.

  • @RahulKumar-wn9tt
    @RahulKumar-wn9tt 3 года назад

    Mam c shikhne me kitna din lag jaye ga minimum aapke lecture se 🙏🙏🙏🙏🙏

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

    6:02 it doesn't giving any error i try it ,done successfully
    #include
    int main()
    {
    int a=10;
    int*p;
    int*q;
    p=&a;
    *q=*p;
    printf("output
    %d%d",*q);
    return 0;
    }

  • @a._.chinna
    @a._.chinna 2 года назад

    iam getting the output without intializing q in *q=*p .
    code
    int a=10,b=11,*p=&a,*q;
    *q=*p;
    printf("a=%d
    %d
    %d
    ", a,*p,*q);
    output:
    a=10
    10
    10

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

    Thanks 🧬

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 3 года назад

    Printf statement is correct you given,
    But p &q address is not correct you taken why mean you didn't give a algorithm code to P&q adress,
    Thants the finnally required,

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

    Thank you very much madam

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

    I think you forgot to upload pointer second lecture 🤔🤔

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

    Thank you mam.😍

  • @deepikakaparaboina
    @deepikakaparaboina 11 месяцев назад +1

    #include
    int main(){
    int a=10,b=11,*p,*q,*r;
    p=&a;
    *r=*p;
    printf("%d %d
    ",*r,*p);
    q=&a;
    printf("%d %d",*q,a);
    }
    This gives output 10 10 10 10
    #include
    int main(){
    int a=10,b=11,*p,*q,*r;
    p=&a;
    *r=*p;
    printf("%d %d
    ",*r,*p);
    q=&b;
    printf("%d %d",*q,b);
    }
    Here there is no output. Can anyone reply please. This would help me alot :)

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

    How one can know the address of a variable..??

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

      suppose i have
      int a=10, b=5;
      int *p, *q;
      p = &a;
      q = &b;
      printf("the address of a is %x",p);
      NOTE : IT GIVES THE OUTPUT IN HEXADECIMAL

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

      if you want it in decimal just use %d instead of %x

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

      Thanks for replying bro that was the time when I was noob

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

      @@Madmaxkkb what are you doing now bro? Can you suggest me anything??

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

      @@akashmourya8502 bro currently I am doing btech in electronics and communication engineering as we have a subject in 1st year called c programming where we need to learn the basics of a programming language but after completion of that subject now I have 0 interest in coding I left coding, I know that coding is important in electronics but I know the basics and that's I think enough

  • @Ajay-jg2fw
    @Ajay-jg2fw 3 года назад

    *q=*p;
    Segmentation fault : 11
    Ya aya hai ma'am

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

    mam at 11:17 i'm not getting any error
    void main(){ int a=12,b=51;
    int *p,*q;
    p=&a;
    *q=*p;
    printf("a=%d %d %d",a,*p ,*q); }
    i'm getting my output as a= 12 12 12

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

    Nice presentation

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

    Thanks mam

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

    Mam
    P = &a;
    *q= *p;
    Is not giving me warning
    Even I didn't initialize q

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 3 года назад

    Sorry to say this p-address of q is not given taken so this is first mistake you have to taken madam zi,
    I am your guide.

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 3 года назад

    Respected madam,
    Give me your website please🙏

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

    Pointers part 2 Missing Mam 🙄

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

    mam can I get pointers topic part 2😟😟

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

    How can I enrolled

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 3 года назад

    To day you looking so bonding composition

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

    Thank you so much mam

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 3 года назад

    Without algorithm coding is given P&Q statements,
    You don't right a int character,
    So possible is one thing,
    It is imagination thinking,
    P&q are examples I think,
    Should right this program without getc and scanf function may it will possible,
    Think made big........ /
    Well respected giving this Operchunity to explain this,

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

    Thankyou Mam

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

    take care maam ☺☺

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

    🔥🔥

  • @19_jothikams23
    @19_jothikams23 3 года назад

    Thank you mam

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

    👍

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

    yav hocam siz mükemmelsiniz ya keşke türkçe olsaydı ama

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

      are kehana kya chahate ho

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

      Bu aksanla bile anlayabiliyorsan(k) Türkçe olmasa da olur her türlü İngilizce kaynaktan dinleyebilirsin :D harbiden müthiş bir hoca

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

    ♥️

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

    Make python tutorial

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

    Mam what is ur age 😅

  • @506-afrojshaik5
    @506-afrojshaik5 3 года назад

    🐒

  • @karthikgoud4655
    @karthikgoud4655 29 дней назад

    Illigal 😂

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

    #include
    int main() {
    int a=10,b=5;
    int *p,*q;
    q=&b;
    p=&a;
    *p=*q;
    printf("a=%d %d %d
    ",a,*p,*q);
    return 0;
    }
    Result : a=5 5 5. Why so? Shouldn't 'a' be 10 here?

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

      Yes same problem for me also

    • @AdityaRaj-vz4kt
      @AdityaRaj-vz4kt 2 года назад

      Because operater work from right to left
      , See your program *q = what 5 right, so *q value store in *p ,*q is replaced the value of *p from privious one

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

      @@AdityaRaj-vz4kt right but not right to left, even check from left to right and always give last value.

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

    02:14 video starts

  • @himanshu-x8s6b
    @himanshu-x8s6b 2 месяца назад

    thank you mam ji

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

    ❤️