C_73 Pointers in C- part 3 | Pointer Assignment

Поділитися
Вставка
  • Опубліковано 10 сер 2021
  • In this lecture we will discuss how to assign a value of pointer to another pointer.
    Best C Programming Tutorials: • Programming in C
    *********************************************
    Connect & Contact Me:
    Jenny's Lecture Hindi: / @jennyslectureshindi
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/profile/Jayanti...
    Instagram: / jayantikhatrilamba
    Twitter: / khatrijenny
    Telegram Group Link: Jenny's Lectures
    telegram.me/jennyslectures
    *******************************************
    More Playlists:
    Programming in C Tutorials: • Programming in C
    C++ Tutorials for beginners: • Lec 1: How to Install ...
    Printing Pattern in C: • Printing Pattern Progr...
    Best Python Tutorials for Beginners: • Python - Basic to Advance
    Placement Series: • Placements Series
    Data Structures and Algorithms: https: • Data Structures and Al...
    Design and Analysis of Algorithms(DAA): • Design and Analysis of...
    Dynamic Programming: • Dynamic Programming
    Operating Systems tutorials: // • Operating Systems
    DBMS Tutorials: • DBMS (Database Managem...
    Tags:
    pointers in c, what is pointer, introduction to pointers in c
    #coding #strings #jennyslectures #cprogramming #clanguage

КОМЕНТАРІ • 113

  • @kmanish2528
    @kmanish2528 2 роки тому +41

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

  • @124priyanshuverma9
    @124priyanshuverma9 2 роки тому +47

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

  • @tejasgiri1650
    @tejasgiri1650 2 роки тому +15

    02:14 video starts

  • @user-lx9qq2nc9d
    @user-lx9qq2nc9d 3 місяці тому

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

  • @aniketkumar3126
    @aniketkumar3126 2 роки тому +4

    Thinking about your videos and when I opened UA-cam you was right there at first 🥇

  • @codeanalysis7085
    @codeanalysis7085 2 роки тому +6

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

  • @g.nirmalkumar5773
    @g.nirmalkumar5773 2 роки тому +10

    One of the best explaination for pointers

  • @mani6896
    @mani6896 2 роки тому +18

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

  • @_gayatrrii_
    @_gayatrrii_ 3 дні тому

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

  • @nsebabu8513
    @nsebabu8513 2 роки тому +4

    Mam literally I am addicted to your voice

  • @dundappafulari9208
    @dundappafulari9208 2 роки тому +1

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

  • @sunandamallick4310
    @sunandamallick4310 2 роки тому

    And congratulations for completing 513k subscriber 🎉

  • @vickyvignesh3844
    @vickyvignesh3844 2 роки тому +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.

  • @prajwal7257
    @prajwal7257 2 роки тому +3

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

  • @gunamonibharath40
    @gunamonibharath40 2 роки тому

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

  • @chandrareddy888
    @chandrareddy888 2 роки тому +2

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

  • @etcetera7529
    @etcetera7529 11 місяців тому

    you teaching is just bomb🎇🎇🎇

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 2 роки тому

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

  • @bharatkumar9048
    @bharatkumar9048 2 роки тому

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

  • @clg_vi_bes
    @clg_vi_bes 7 місяців тому

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

  • @darineesh.r66
    @darineesh.r66 9 днів тому +1

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

  • @rajatharwadekar9681
    @rajatharwadekar9681 2 роки тому

    Part 2 of pointers concept is not uploaded?

  • @sherababbar3972
    @sherababbar3972 2 роки тому +1

    Great presentation

  • @AjitKumar-bk3cb
    @AjitKumar-bk3cb 2 роки тому +1

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

  • @satyadevdevabathina7404
    @satyadevdevabathina7404 2 роки тому

    thanks mam u r the angel for c

  • @meghasinha1706
    @meghasinha1706 2 роки тому +1

    Thanks for your efforts mam

  • @vimala7830
    @vimala7830 2 роки тому

    Nandri mam... Luv from TAMILNADU 😍

  • @ARYAN_6565
    @ARYAN_6565 2 роки тому +2

    Thank you so much Mam 🙏

  • @limitess9539
    @limitess9539 Рік тому

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

  • @parsu8703
    @parsu8703 Рік тому

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

  • @panchalikar9290
    @panchalikar9290 2 роки тому

    thanks,you are the best .

  • @motemontero5592
    @motemontero5592 2 роки тому

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

  • @sachinshekade657
    @sachinshekade657 2 роки тому +2

    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🙇🙇🙇🙏🙏🙏

  • @bein-korea
    @bein-korea 6 місяців тому

    Why do we use pointers? although it is slower ?

  • @anlackermann590
    @anlackermann590 Рік тому +1

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

  • @YuvrajSingh-th7vw
    @YuvrajSingh-th7vw 2 роки тому +1

    Ma'am please make video on calloc malloc and relloc

  • @user-hz2ni6rh8p
    @user-hz2ni6rh8p 7 місяців тому

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

  • @solivetelevision
    @solivetelevision 2 роки тому

    How can I enrolled

  • @solivetelevision
    @solivetelevision 2 роки тому

    Nice presentation

  • @KRISHNA_VLOGS49
    @KRISHNA_VLOGS49 2 роки тому

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

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 2 роки тому

    Respected madam,
    Give me your website please🙏

  • @bhavanedas3777
    @bhavanedas3777 2 роки тому +1

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

  • @RahulKumar-wn9tt
    @RahulKumar-wn9tt 2 роки тому

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

  • @dannielbongi9180
    @dannielbongi9180 Рік тому +1

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

  • @vijisekar4540
    @vijisekar4540 2 роки тому

    Jenny Addict😍😍😍😍vijisekar from chennai

  • @megh5013
    @megh5013 2 роки тому +3

    Thanks a lot Mam for this lecture!!!

  • @rahamatshaikh9899
    @rahamatshaikh9899 2 роки тому

    Thank you mam.😍

  • @gayandesilva3180
    @gayandesilva3180 11 місяців тому

    Thank you very much madam

  • @pradyumnkesharwani3367
    @pradyumnkesharwani3367 2 роки тому

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

  • @ASatyanarayana9000
    @ASatyanarayana9000 2 місяці тому +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

  • @melthabah1158
    @melthabah1158 2 роки тому

    Thank you so much mam

  • @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 10 місяців тому

      you are crt.Same doubt I too have.

    • @Zeeshan0746
      @Zeeshan0746 9 місяців тому

      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 7 місяців тому +2

      first thing is that it is not giving error.😉

  • @BTCIV_AyushMalviya
    @BTCIV_AyushMalviya 2 роки тому

    Thankyou Mam

  • @shaikakbar2413
    @shaikakbar2413 Рік тому

    Thanks 🧬

  • @abdulrahimjalloh363
    @abdulrahimjalloh363 Рік тому

    Thanks mam

  • @debojitacharjee
    @debojitacharjee 2 роки тому

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

  • @anupam_anu
    @anupam_anu 7 місяців тому +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 5 місяців тому

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

  • @praveensamuel8083
    @praveensamuel8083 2 роки тому

    mam can I get pointers topic part 2😟😟

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 2 роки тому

    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

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 2 роки тому

    To day you looking so bonding composition

  • @vinaypratap620
    @vinaypratap620 2 роки тому

    I think you forgot to upload pointer second lecture 🤔🤔

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 2 роки тому

    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,

  • @rapakalokesh8449
    @rapakalokesh8449 Рік тому

    take care maam ☺☺

  • @pradeeprao2473
    @pradeeprao2473 2 роки тому +1

    👍

  • @ramanan3293
    @ramanan3293 2 роки тому

    Pointers part 2 Missing Mam 🙄

  • @siddharthsharma2540
    @siddharthsharma2540 2 роки тому +1

    What is benifit of pointer

    • @marthalemilya5768
      @marthalemilya5768 2 роки тому

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

  • @a._.chinna
    @a._.chinna Рік тому

    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

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

  • @Ajay-jg2fw
    @Ajay-jg2fw 2 роки тому

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

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 2 роки тому

    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 ❌

  • @sneha_NIT
    @sneha_NIT 2 місяці тому

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

  • @naveen_divine
    @naveen_divine 2 роки тому +2

    🔥🔥

  • @janakiisajeev
    @janakiisajeev 2 роки тому

    ❤️

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

  • @kashishrocks
    @kashishrocks 3 місяці тому

    9:17 mow this workswithout any warning.

  • @storm_743
    @storm_743 7 місяців тому

    Mam what is ur age 😅

  • @itzharivlog273
    @itzharivlog273 2 роки тому

    Make python tutorial

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 2 роки тому

    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.

  • @deepikakaparaboina
    @deepikakaparaboina 5 місяців тому

    #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 :)

  • @guldencetin3939
    @guldencetin3939 2 роки тому

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

    • @riteshkatare1433
      @riteshkatare1433 Рік тому

      are kehana kya chahate ho

    • @anlackermann590
      @anlackermann590 Рік тому

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

  • @itsmesidd
    @itsmesidd 2 роки тому

    C_72 pointers part 2 :- ua-cam.com/video/qqRUp28pPFk/v-deo.html

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

  • @SravanKumar-uc6qt
    @SravanKumar-uc6qt 2 роки тому

    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,

  • @506-afrojshaik5
    @506-afrojshaik5 2 роки тому

    🐒

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

  • @adarshc2705
    @adarshc2705 2 роки тому

    #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 Рік тому

      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

    • @RishabhYadavJNU
      @RishabhYadavJNU Рік тому

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

  • @19_jothikams23
    @19_jothikams23 2 роки тому

    Thank you mam

  • @honesttripmate
    @honesttripmate 2 роки тому +1

    02:14 video starts

  • @ChongNano
    @ChongNano 2 роки тому

    ♥️