Great video, thanks a lot for uploading. Let's briefly discuss about all the pointer operators available in C and C++. There are two pointer operators: * and &. The & is a unary operator, called “Address of” or “Reference operator” that returns the memory address of its operand. For example, j = &i; assigns the address of i into j. This address is the computer's internal location of the variable in memory. It has nothing to do with the value of i. You can think of & as returning "the address of". Therefore, the above assignment statement can be expressed as "j receives the address of i". The second pointer operator, *, called “Value at address” or “Dereference operator” or "Indirection operator" is the complement of &. It returns the value located at the address that follows. For example, if j contains the memory address of the variable i, k = *j; copies the value of i into k. Hope it was clear. :)
you are a guardian angel of us and your way of teaching is just phenomenal, u don't let me feel any topic to be hard. you are a million times better than my college professor. p
bahut hi acche se samjhate ho aap harry bhai pointers ek dam acchche se samajh me aagaye online courses bhi aisa nhi samjha pate jaisa aap samjhate ho. Maja aagaya samajhke.
After watching your channel it's evident that teaching is an art....you are born with it....no one can learn how to teach. you are a wonderful teacher, sir...
04:06 Pointers in C are simplified and explained practically without needing to remember definitions or codes. 08:12 Understanding memory allocation with pointers in C 12:18 Understanding pointers and their functionalities 16:24 Understanding the M% and D reference operators in C 20:30 Understanding pointers and variable addresses in C. 24:36 Understanding pointers and memory addresses in C programming. 28:42 Pointer dereferencing and null pointer concept in C 32:47 Pointers in C allow memory management and dynamic allocation
Thank you so much Harry for such a fantastic explanation of pointers! You are far better than most of the university teachers as you know the art of transforming difficult topics to easy ones... Thumbs up 👍👍👍...!!! From Pakistan...!
Bhaiya aapke video ke through computer languages learning karna bahut easy ho Jata hai you're far better than my college teacher, thank u bhaiya abhi mujhe exam ka revision achhe se hogya hai 👍
Harry Bhayya ....I am very thankful to u...... because i am only 13 years old and i am learning c language from ur channel.......and i am able to understand it easily because of you....... thanku harry bhayya
HARRY SIR,,, m daily kam krta hu+ pdta hu+khana khata hu+roj sota hu and DAILY APKA CHANNEL CHECK KRTA HU SIR. IITIAN HARRY(FROM KHADAKPUR IIT) KEEP IT UP. >>>---MUSHKIL CONCEPT SMAJ NHI ATA,,,CHLO HARRY SIR KE PAS----
In this class notes, Example 2:-Correct the printf("The Address of a is %p ," &a); line with printf("The Address of a is %p ", &a); and thanks for the basic pointer class session
Keep making these useful video beginners ke liye bohot helpful hai ye thank you very much for helping I used to think ye sab hard topics hai and when I saw your video it made it all clear
Love you man...beautifully explained in easy language ❤️ I came here after all those books like Yashavant Kanetkar and others... but understand by your video 😅the actual meaning of pointers 👉
nice explanation! you are the best ! I have copied the comment of Muhammad Adil Khalil because i have the same feeling Thank you so much Harry for such a fantastic explanation of pointers! You are far better than most of the university teachers as you know the art of transforming difficult topics to easy ones... Thumbs up 👍👍👍...!!! From Pakistan...!
Pointer is like a postman which has addresses of persons on postcards which are to be delivered to that person and he sees those addresses when he reaches there on their number plate which is outside their homes
Important to note: int *ptr = &a; is same as int *ptr; ptr=&a; //Yes, it's ptr not *ptr, *ptr is a dereferencing operator and will return an error because ptr doesn't yet have a value here
Wow , fantastic teaching. I understood pointers so easily. I watched 3 lectures but couldnt understand it easily. Thanks for thr free lecture Harry sir , very helpful :D July 2023
I have my exams knocking the door and was unable to understand a bit about pointers thanx to you that I have successfully understood the concept of pointer.
#include int main(){ int a=4; int *ptr=&a; printf("%d ",a); //value of a printf("%x ",ptr); // address of a printf("%d ",*ptr); //value at address of a printf("%x ",&ptr); //address of ptr printf("%x ",&a); //adress of a return 0; }
O mere bhaiya u r the best than my college faculty 🙂👌
That's correct
Which College? 🌝😂
@@stn4889paisa barbaad bc😂😂
@@stn4889IIT Dholakpur
Fees bhi bhaiya ko Dede fir
Sir your style of teaching and making complicated topics into a simple one are really appreciable... Keep up the good work.
Bhai itna confuse krta hai yee
Wow ! What an awesome explanation. Really this video cleared all my doubts
Great video, thanks a lot for uploading. Let's briefly discuss about all the pointer operators available in C and C++. There are two pointer operators: * and &. The & is a unary operator, called “Address of” or “Reference operator” that returns the memory address of its operand.
For example,
j = &i;
assigns the address of i into j. This address is the computer's internal location of the variable in memory. It has nothing to do with the value of i. You can think of & as returning "the address of". Therefore, the above assignment statement can be expressed as "j receives the address of i".
The second pointer operator, *, called “Value at address” or “Dereference operator” or "Indirection operator" is the complement of &. It returns the value located at the address that follows. For example, if j contains the memory address of the variable i,
k = *j;
copies the value of i into k.
Hope it was clear. :)
Thanks for the information ☺️
@@Charu-g6y Most welcome!
Finally! I got the concept of pointers after watching this video 3times🤑🤑🤑🤑🤩
Sir you are doing a great job! Salute you sir....
Sir pls start data structure tutorial also.
"me ankit me interested hu, mujhe ye jan na h ki Ankit ke andr kya hai "💀💀
13:07 💀 📢📣
fir wo tumare andar 😂
@@roster_Op bas kr yrr 😅
😂😂
طسااکک😅
you are a guardian angel of us and your way of teaching is just phenomenal, u don't let me feel any topic to be hard. you are a million times better than my college professor. p
Harry Bhai jindagi mein pahli POINTER aaj samajh mein aaya
Thank u Bhai mere
bahut hi acche se samjhate ho aap harry bhai pointers ek dam acchche se samajh me aagaye online courses bhi aisa nhi samjha pate jaisa aap samjhate ho. Maja aagaya samajhke.
After watching your channel it's evident that teaching is an art....you are born with it....no one can learn how to teach. you are a wonderful teacher, sir...
04:06 Pointers in C are simplified and explained practically without needing to remember definitions or codes.
08:12 Understanding memory allocation with pointers in C
12:18 Understanding pointers and their functionalities
16:24 Understanding the M% and D reference operators in C
20:30 Understanding pointers and variable addresses in C.
24:36 Understanding pointers and memory addresses in C programming.
28:42 Pointer dereferencing and null pointer concept in C
32:47 Pointers in C allow memory management and dynamic allocation
Thank you so much Harry for such a fantastic explanation of pointers! You are far better than most of the university teachers as you know the art of transforming difficult topics to easy ones... Thumbs up 👍👍👍...!!! From Pakistan...!
Nice explanation of pointer thank u so much...😍😍👏👏👏👌👌👌
Bhaiya aapke video ke through computer languages learning karna bahut easy ho Jata hai you're far better than my college teacher, thank u bhaiya abhi mujhe exam ka revision achhe se hogya hai 👍
Great work Harry bhai
Your lectures are really "MACHO"
Level of understanding was really great😃😃😃
Harry there is no better teacher for Coding than you !!
Amazing👍 sir,
Aapka samjhane ka tarika, kabiliyat tariph hai 🤘👍.
Harry Bhayya ....I am very thankful to u...... because i am only 13 years old and i am learning c language from ur channel.......and i am able to understand it easily because of you....... thanku harry bhayya
abe mje kar bhai abhi kya c padhke faltu me competition badha rha.
@@SUMEDHKRISHNA don't demotivate anyone. i am 16 and also learning. there is nothing wrong to start from an early age.
HARRY SIR,,, m daily kam krta hu+ pdta hu+khana khata hu+roj sota hu and DAILY APKA CHANNEL CHECK KRTA HU SIR.
IITIAN HARRY(FROM KHADAKPUR IIT) KEEP IT UP.
>>>---MUSHKIL CONCEPT SMAJ NHI ATA,,,CHLO HARRY SIR KE PAS----
You are right
laudu
what a co incidence.....main bhi kar raha hun and I have just joined IIT kgp
vohi culture hai
In this class notes, Example 2:-Correct the printf("The Address of a is %p
," &a); line with printf("The Address of a is %p
", &a); and thanks for the basic pointer class session
harry bhai is fire ❤❤❤❤❤❤❤❤❤❤
Harry bhai app bahot ache se samjarahe ho keep it up
Thank You bhaiya for making this topic crystal clear.
Sir, I already watched your all past python videos. Now I want to learn more. Please upload more python learning videos. 🙏
Thank you so much 😊
Khud keTeacher se ni aya smjh jitna is video se aya 😀
You are outstanding sir. No words for u. U are fabulous😘
Great explanation sir. Mean alot for this thank you so much ♥️
Very mast video harry bhaiya 👍
When you understand "rocket" topic from real teacher like codewithharry, the music at the end is like victory music for us. That's a real teacher!
😂🎉😢😮😅😊
ankit me intrest he ankit k andar kya he 🤣🤣 13:07 nice vai having fun while studying
Undoubtly , the best teacher for learning CS such a concept clarity and crystal clear explanation
Keep making these useful video beginners ke liye bohot helpful hai ye thank you very much for helping I used to think ye sab hard topics hai and when I saw your video it made it all clear
Your video's are fantastic bhaiya
Great video, thank you Bhai.🙏
Love you man...beautifully explained in easy language ❤️ I came here after all those books like Yashavant Kanetkar and others... but understand by your video 😅the actual meaning of pointers 👉
Bahut mst everything is clear ❤
Pointers always confuse me till this date...This is next level teaching. Cleared all my tiny doubts.
7:33 at least someone took my name in their video 🤣🤣🥂🥂
Thankyou so much! Love from Pakistan!🥰
thankyou sir... For explaining this tropic... It's a very easy way to learn it....
haary sir aap meray liyay aik ideal ban chukay hai
your way of teaching is excellent love you bro from pakistan
Thanks bhai for calling and solving my problem.
nice explanation! you are the best !
I have copied the comment of Muhammad Adil Khalil because i have the same feeling
Thank you so much Harry for such a fantastic explanation of pointers! You are far better than most of the university teachers as you know the art of transforming difficult topics to easy ones... Thumbs up 👍👍👍...!!! From Pakistan...!
Your style of teaching is really great Thank You 😄❤️
Yes crystal clear concept understanding. .thanku for such a great video
You are the best Bhaiya learnt pointer very fast
Confusing topic got cleared. Nice explanation
Thank you, finally pointers smjh aa gya.
Hello brother thanks for ❤️❤️❤️
I am from nepal
Aap ka video nepal me vi dekhata hai hum log
Thanks for tech we ❤️❤️
Very good explanation , it clear my all doubts thanks bro
best tutorial even after five years nice...!
Bhai u r very much better than my teacher.... Kudhoss
You are the great teacher🥰
Hii sir Thanku very much 🙌🙌🙌🙌💓💓💓💓💓💓💓💓
After 3 video Another yt channel but that yt channel fantastic 😊 all doubt clear
Thank you very much. You are a genius.
Thanks..Brother.For This Awesome Tutorials.
bhai ne bilkul hindi character me bataya hai
namak bhot badhiya bro thank you
Pointer is like a postman which has addresses of persons on postcards which are to be delivered to that person and he sees those addresses when he reaches there on their number plate which is outside their homes
Nice
your teaching style is nice harry bhaiya
Important to note:
int *ptr = &a;
is same as
int *ptr;
ptr=&a; //Yes, it's ptr not *ptr, *ptr is a dereferencing operator and will return an error because ptr doesn't yet have a value here
Exactly man,
We can also come up with logic by seeing the fact that RHS is &a which is a address so LHS must also be an address
Genius bro @@thesmartone6601
ooooooo bhaiiiii kitna aasan bana deta hai ye sabko...hats off harry bhai
idol bn gye ho aap mere💓😊😊😊😊
Nice explanation. Thank you sir.
Thank you sir, your videos where a big help to me 😊
Bhai Really Fantastic One Yr 👌
bahut acche se samaj aaya bhaiya,thanks to your efforts
sir you are so helpful, thanks a lot for helping us, i really cant express how thankful i am
bhai bhari ch❤
Wow , fantastic teaching. I understood pointers so easily. I watched 3 lectures but couldnt understand it easily. Thanks for thr free lecture Harry sir , very helpful :D
July 2023
More than 1lakh veiws , only 200+ comments and 7k likes thts not fair!! this chnl deserve more
Nice sir it's wonderful 🎉🎉
I have my exams knocking the door and was unable to understand a bit about pointers thanx to you that I have successfully understood the concept of pointer.
Maine aap jaisa teacher nahi dekha
wow ! awesome explanation bro❣️👍🏻
Harry bhai you are carry bhai🤘🤘
Harry bhai concept acha se samja dete ho aap
Sir brilliant explanation ❤️
This is very very helpful video for me .... thank you so much bhayia😀😀😀😀
the way of your explanation is much better then my maths profassior 😁😄
#include
int main(){
int a=4;
int *ptr=&a;
printf("%d
",a); //value of a
printf("%x
",ptr); // address of a
printf("%d
",*ptr); //value at address of a
printf("%x
",&ptr); //address of ptr
printf("%x
",&a); //adress of a
return 0;
}
A simple code to declare a pointer to a pointer:
int a = 45;
int *pta = &a; //pointer to a
int **ptp = &pta; //pointer to (pointer to a)
Matlab ki agar third time karna hoga toh we can write :-
int ***abc = &ptp;
Is it so???
@@anshuraj5734 Yes 🙂
@@Anonymous-om5ql 😒😒
Sir ek number pathaya Apne
Thank you bhaiya ❤️
it was really good, appreciate the effort..
Please try to do online classes in c language for 2k24 for BCA first year... ❤✨
thank you sir for explaining the pointer. it is very helpful for me😊😊
key takeaway
print(&a) = print(prta)
print(a) = print(*ptra)
Hello sir this code is not running in my vscode while runs fine in online gdb emulator for c plz tell why
Thnq Bhaiyya...huge respect
very nice explanation...harry
Thanku so much harry bhai ❤❤
Waw bhai love you nice explanation .
But I have one question
Aap ne docker pr full complete course nahi banaya 😂
Good to hear that you like this tutorial. I will cover docker tutorial series soon!
@@CodeWithHarry thanks in advance 🙏
Thank you Harry. I am following the series one-by-one. Gr8 work.....keep it up.
Nice Explanation i give you five stars
Love you sir ji and thanks a lot 💕
13:30 very important
Thanku sir ❣️
Keep it up bro.
Perfectly samajh gaya