Introduction to pointers in C/C++

45
1



See complete series on pointers here

Pointers is one concept that does not go down well with beginners in C/C++. In this tutorial, we have tried to demystify the concept of pointers.

Prerequisite: You should know how to write a basic C program to add two numbers.

Check our next lesson here:

For practice problems and more, visit:

Like us on Facebook:

Follow us on twitter:

Nguồn:https://wijstaanvooronzegrondrechten.org/

45 COMMENTS

  1. From my beginning of programming career i'm in love with you video now you have got 500k subscriber the rapid amount of viewer shows the skills presenting technique & the quality of your Channel keep it up Dear.

  2. So, I know understand pointers, but I don't see the use of them. What would you practically use them for? Why would you need to know the memory address of a variable? I'm a game programmer so I don't think I'd use this in my case.

  3. TIP: This author has a whole playlist – 17 videos – of C pointers on their channel. Just discovered it.
    What a great, clear explanation! The practice examples really help.

  4. I rarely comment , but I must say that I understood in 10 minutes what I didn't understand in one year. I have an exam tomorrow , you just saved my life THANK YOU so much sir 🙂

  5. For anyone out there…if you have stumbled upon this series….then TUCK IN! Your understanding of pointer will be CRYSTAL clear.

  6. #include<stdio.h>

    int a,b;

    void print(){

    printf("%d %d",a,b);

    }

    int fun1()

    {

    int a,c;

    a=0;

    b=1;

    c=2;

    return c;

    }

    void fun2()

    {

    int b;

    a=3;

    b=4;

    print();

    }

    int main()

    {

    a=fun1();

    fun2();

    }

    sir, can you explain this output?

LEAVE A REPLY

Please enter your comment!
Please enter your name here