Thanks a lot :) this teaching model is already famous, if you have heard of Khan Academy.
@abhisheksingh-rd2ur8 жыл бұрын
There can't be a better teacher than you.......my concepts are so clear now.
@suneelabbigari7 жыл бұрын
what if i use int A[5] , in formal argumrnt ? is this same int* A[5] ? both are not same ? what would be the problem if i use ?
@venkateswarans10126 жыл бұрын
You won't get any compilation error, but its gonna be an undefined behaviour
@dharmang5 жыл бұрын
hyperbole lmao xD
@FreeMayaTutorials4 жыл бұрын
@@suneelabbigari You don't know what's located memory location 220 in this example. It'll compile but the output will be unknown.
@FreeMayaTutorials4 жыл бұрын
This is a great tutorial, thanks!
@mycodeschool11 жыл бұрын
Thanks a lot for the encouragement.
@leixun4 жыл бұрын
*My takeaways:* 1. Data in arrary are consecutive in memory 0:13 2. Assign an array to a pointer is equal to assign the memory address of the first value in the array to the pointer 4:20 3. How to get the memory address and value of an array element 5:03
@syedhamid012 жыл бұрын
Thnx
@Rahulsingh-theraha2 жыл бұрын
thank you for quick recapping
@ua28942 жыл бұрын
chinese guy learning from indian guy? how charmingly quaint!
@JulieTech8 ай бұрын
@@ua2894 Neighbors sharing together....Hahahaha..
@lindawisebear8 жыл бұрын
This was beautifully explained; the best video I've seen on this topic! I like how you give plenty of examples and explain every single line of the examples you give clearly. Thanks from a c beginner!
@kiralosina86153 жыл бұрын
*Only 18* 👇👇👇 667024.loveisreal.ru
@Kgotso_Koete8 жыл бұрын
The MyCodeSchool pointer series is the best/ most accessible explanations about pointers that I have seen in the galaxy!.
@bamster646 жыл бұрын
This series of tutorials are probably the best programming tutorials on KZbin, short but extremely well explained, how it should be.
@whatdphak4 жыл бұрын
One of the best teachers I've come accross so far in my life.
@kensei42374 жыл бұрын
Agree.
@utkarshaggarwal16314 жыл бұрын
The way you always link the concepts with the memory they use, makes it a whole lot clearer. that's where I always had doubts about its actual working. You are something else. Thank you!
@mdabusayeed23057 жыл бұрын
I am ashamed of my Univ Teacher after watching these lectures. A long time nightmare is become a piece of cake.
@aadypillai58084 жыл бұрын
im cryin i can literally feel my brain getting bigger
@torebektoregozhin46264 жыл бұрын
OMG I am falling off my chair AHAHHAHAh
@aadypillai58083 жыл бұрын
damn thats crazy.. stfu
@khalidben99407 жыл бұрын
I watched this before and let me tell you that your explaining is really amazing.This is the best explaining so far
@shivamverma94474 жыл бұрын
Thanks man for uploading these valuable lectures. These are pure GOLD..
@ammarm710 жыл бұрын
Man your soo awesome, its finally clinking! Im gonna nail my exam tomorrow!!! Thank you.
@iTech13377 жыл бұрын
did you nail it ?
@poljakov137 жыл бұрын
he probably failed , why else hes afraid to confess us the result :D
@madjoemak7 жыл бұрын
Lol same. Mine is the day after tomorrow
@dhruvkaran97244 жыл бұрын
@@poljakov13 madrasa education only fails u.
@peterpace33794 жыл бұрын
@@dhruvkaran9724 Being in VIT, I can confirm this is true.
@gerardo.arroyo.s5 ай бұрын
Thank u for explaining this! Wow, this was 11 years ago? 2013? Impressive
@somnathgarai10 жыл бұрын
no one taught pointers and arrays concept like this... great learning experience and made the concept clear
@xz75254 жыл бұрын
Amazing explanations!! I hope these lectures continue to spread to many more people!
@SmartProgramming6 жыл бұрын
best tutorial for pointers and arrays, each and every concept is simply explained, keep it up sir 👍👍
@kevinl10802 жыл бұрын
This was great thanks! I am doing my first programming course in Computing Science and this video helps a lot
@Submersed248 жыл бұрын
very good tutorial, thanks! feels so nice finally understanding this...
@vaishalijoshi76426 жыл бұрын
concepts and communication skill executing simultaneously....hatsoff
@palaksarawagi92908 жыл бұрын
Thank You ! sir , concepts are getting clear now. Each and every tutorial of your is so clean and to the point.
@shalupathak69055 жыл бұрын
You are osm..really... I was so much scared of doing programming.. But now I am doing good in it.. Thank you 😊 😊
@juannov72 жыл бұрын
Super clear and great examples, time to watch all your videos! THANK YOU!!
@sachinnihalani81507 жыл бұрын
One cannot be more precise than u sir . Ty very much it helped me a lot
@shitalunde244 жыл бұрын
i had never understood this clearly ,but now my all doubts are cleared.thx for that .plz upload playlist on arrays , structure and union
@jumaelahmed99953 жыл бұрын
May our creator bless you teacher!
@sajidmohammad59473 жыл бұрын
*for anyone who needs an example for when array and pointers are used together, you can take a look at this. The question is "arrange array in ascending/ descending order using functions" #include void ascending(int *p); void descending(int *p); int main() { char seq; int a[10] = {10,2,4,6,8,1,3,5,7,9}; printf("Do you want ascending or descending sequence?(a/d)"); scanf("%c",&seq); if(seq == 'a') ascending(&a); if(seq== 'd') descending(&a); for(int i= 0; i
@justinli199010279 жыл бұрын
so well explained!! give a million thumbs up if I can!! Best tutorial channel on youtube!!
@deveshmeena54813 жыл бұрын
you just made it so much easier to undertsand. THANKS
@thiagaodavez5465 Жыл бұрын
really good, i was very confused about the relationship between array and pointer, now its clearer
@OmarChida6 жыл бұрын
I LOVE YOU ! LEARNNING NEW THINGS HERE!
@rahulprajapati87435 жыл бұрын
This Video lectures helped Me a lot. So thank you for that
@naboulsikhalid77635 ай бұрын
No doubt, best explanation of pointers and operations. thank you
@suigetsuhozuki14 жыл бұрын
Thank you very much for these lectures! Right now I'm watching these videos, typing your code alongside and taking notes; will go through this playlist one more time so the concepts sink in :)
@faithdame48237 жыл бұрын
Thank you so much for this. I been having difficulty trying to understand pointers. This was really helpful.
@TheThelifegame5 жыл бұрын
amazing , simple , clear , and straight forward
@SravanKumar-us5lw6 жыл бұрын
Your Lecture is Good !ThankGod Yu Saved me from Internals
@jeelkumarbaraiya51096 жыл бұрын
Great sir!! You are providing best conceptual learning with smoothness and easiness.
@city5joy5 жыл бұрын
basic concept but your lessons are very helpful!!! thank you!
@kaizhang95306 жыл бұрын
The series too good that I always forget to give a like before move on to next video!!
@nivo63795 жыл бұрын
Thank you for this course and the playlist.
@mycodeschool11 жыл бұрын
A++ is saying "A = A+1", so we are trying to modify A here. When we use (A+1) in an expression, we never use it in a manner that A is modified. The whole concept is that if A is an array name, it works like pointer but it is not pointer. It is array. If you do something like "int *ptr = A", A returns a pointer that is collected in ptr and now you can do ptr++.
@MrRohit1035 жыл бұрын
Array is a constant pointer because its job is to maintain the base address( You know, an array would be in a serious trouble if it loses its base address).
@ash_engineering9 жыл бұрын
Thank you for such a wonderful video ..its really beneficial and informative ..thanks once again..
@suigetsuhozuki14 жыл бұрын
This is very important topic. "Equivalence" of pointers and arrays (though they are not really equivalent).
@AbhishekSingh-yr5uq6 жыл бұрын
thanks it is very nice and simple ways of teaching the difference between them keep up the good work
@ryokajimosensei27803 жыл бұрын
Thank you indian tech support guy
@bencroacademy6 жыл бұрын
Pointers are amazing man.. I love how that..just changes a variable in..void
@ShauryaChawlaprayforplagues8 жыл бұрын
Thanks for the video! *NOTE :- Printing the address of the first array element like printf("%d", A); doesn't work in case of linux users who use build-essential.
@thsdsyt4 жыл бұрын
This was very clear, but It would be a good idea to make a video about the few differences between an array and a pointer. Thank you very much!
@tamilmaranc8 жыл бұрын
its very clear thank u so much....Just declaring two variable and storing in particulate address and printing the address and variable value which u could initialized
@XProgramerTV8 жыл бұрын
Thanks a lot! Damn I understood everything I need from this and ur character and array video. I was very confused from the "char *argv[]" thing.
@enkhnyambattulga93514 жыл бұрын
how are you such a brilliant teacher omg
@junot90076 жыл бұрын
this was so clear and helpful; thank you!
@wcxjordan98598 жыл бұрын
So great!! Really good teaching!
@mounikadesai251310 жыл бұрын
thanks a lot for these tutorials understood d concept of pointers for d 1st tym :D
@rakeshreddy94177 жыл бұрын
Awesome teachings ... and it is very very useful for beginners to understand the concepts easily.. Moreever the subtitles are some what not good because of the black background. We are unable to see the things behind that.. please ... make alternate..
@brettjay9 жыл бұрын
Really like this one; crystal clear!
@CODINC8 жыл бұрын
Thanks man, u r a great teacher. Im subscribing to u now!
@somentebruno8 жыл бұрын
thank you for the subtitles
@alialhilo56964 жыл бұрын
what u did is really amazing bro !!
@likestomeasurestuff35549 жыл бұрын
thank you very much for this video, it was very helpful :) - new subscriber
@tamilmaranc8 жыл бұрын
pointer variable generally mentioned in ptr instead of mentioning "p"
@thomash72472 жыл бұрын
Thanks sir, your explanation is great
@medjefe22555 жыл бұрын
thank you so much finally pointers are clear for me .
@RokktimBiswas078 жыл бұрын
Thank you animesh for the explanation. :)
@blandiblue4 жыл бұрын
Thank you very much my beloved friend.
@pinkipandey1596 жыл бұрын
Outstanding Sir... Truely thankfully
@sakibjobaid66677 жыл бұрын
this is a tremendous good video i have ever seen !!!!
@himanshipatil9116 жыл бұрын
really excellent explanation
@tamilmaranc8 жыл бұрын
good explanation more over when you store the arrays values the address should serial based i mean to say like 200,201,202,203 like that ...since arrays gives sequetial based address storage but you had mentioned like 200 204 2014 like that ...
@shrinathdakare37258 жыл бұрын
You are too good.Thank you very much.
@melancholiethelab94786 жыл бұрын
Thank you for making this tutorial.
@sharonslibrary7 жыл бұрын
First of all i appreciate what you are doing sir, its Great. I wrote the same codes and instructions as in the video but i didn´t get the same results though, instead of the adress allocation and values of each Array , i´m gettin the sum of the numbers and their position the code; #include #include int main() { int A[ ] = { 2, 4, 5, 8, 1 }; int i ; for (i = 0; i < 5; i++); { printf("adress = %d ", A + i); printf("value = %d ", *(A + i)); } system("PAUSE"); return 0; }
@Shiva-zy7jq6 жыл бұрын
Thank you so much sir. Video was really helpful
@rvlabaji8 жыл бұрын
#Awesome tutorial sir😃😃😃😃😃😃 Thank you
@mustang...6 жыл бұрын
What is the difference between A and &A[0]? I saw some answers on stackoverflow that they have different types( like sizeof gives different results), but it's still unclear how exactly it works if they point to the same address.
@rakshitks78505 жыл бұрын
Awesome as usual....very informative
@07bhas11 жыл бұрын
Hi! Thanks for the lectures. In the ed, you mentioned that you cannot directly increment the base address of an array (say for example 'A') as A++. But isn't it similar to doing A+1? And the operation A+1 works! could you explain this?
@sdani91605 жыл бұрын
4:51 but A is not a pointer variable so how can you dereference it..and get the value 2
@keshavkudale72585 жыл бұрын
Its print p, he did a mistake
@bhzo201011 жыл бұрын
Thanks a lot.. -- you are doing excellent work..
@dineshgarg95677 жыл бұрын
Multiple declaration of i at 8:00
@abinash1387 жыл бұрын
is that supposed to be an error? reply plz
@dineshgarg95677 жыл бұрын
My compiler thinks so..
@sayanmajumder58437 жыл бұрын
sir @4:48 why not p=&A??
@thinkandroid12487 жыл бұрын
Array A is having 5 different addresses if you are writing int *p=&A it wont able to point which address to point.Try to write int *p=&A[0] this will print address of 1st element. And if you directly write int *p=A. This will point to base address that is 1st element address
@sayanmajumder17957 жыл бұрын
rajnish suryavanshi but we use & sign to store the address of any variable then how can *p=A point to the base address
@Rohitchakra17 жыл бұрын
A stores the base address of the starting of the array. and A is equal to &A[0].
@aspireshekar8 жыл бұрын
nice one abhishek keep extending...
@liyangyu10319 жыл бұрын
where is int a[65536] store? stack or heap? the stack is 1M size max?
@markusiak17 жыл бұрын
Inside function: stack. Outside : global variable. On heap, only with dynamic memory allocators, like malloc, or new in c++ :D
@linf313378 жыл бұрын
Thank you for your video :) i have a question, what are the differences between this code to view an element in an array, why would you use one over the other printf("%d",a[3]); printf("%d",*(p+3));
@seemapradhan8378 жыл бұрын
so u mean in a modern compiler, int is of 4 bytes? isnt it 2 bytes?
@DanceWithAbby8 жыл бұрын
its 4 bytes
@seemapradhan8378 жыл бұрын
It depends on the compiler.
@elvinjafarli62577 жыл бұрын
Depends on Operating System, if it is 32 system, then int is 2 bytes, if 64 , then 4 byte
@shimmylikejimmy70237 жыл бұрын
As others have mentioned, it depends on your setup. Use the sizeof keyword to check how many bytes your system dedicates to a particular data type.
@taymurahmed71199 жыл бұрын
Sir, you are just awesome...
@masbro19018 жыл бұрын
4:37 so, if we declare P=A , and print A = it will give us the first element of arrays ? whuah, i didn't know that, if so, then we don't have to declare P=&[A0] anymore , hmm
@crapola718 жыл бұрын
+mas bro It's because any array variable, pointer or not, is a pointer to the array's 1st element. Nice to have it explained so clear and carefully though, I'm enjoying these videos
@andyandrw7 жыл бұрын
Very good video, I only have one question. Why you can use *myArray to point to the 1st value, but you can't *(myArray[3])? I know that for this you would use myArray[i], but wondered why is the reason behind this =)
@anujkhare38154 жыл бұрын
shouldn't he be using %p in printf formatting for pointers? I mean visual studio code might allow it but I think he should use %p because it is the standard way of doing so.
@kartikpanicker92758 жыл бұрын
God bless you master......
@khalil-wc4bs6 жыл бұрын
These indians are the kings of youtube
@masterchef86718 жыл бұрын
U saved my life !
@tanisha69487 жыл бұрын
Sir,can u please explain why we did p++; and not a++; they both store the address of variables as a also refers to the address of the first element of the array.
@cesaresquivel96925 жыл бұрын
best teacher ever🔥👌🙏
@devikasathyan13334 жыл бұрын
sir, can the variable name start with uppercase letter??? excellent video sir
@chiragnandaniya31336 жыл бұрын
Thanks sir it helped a lot!!
@hemvjay8 жыл бұрын
What value here A refers when we do the operation (A+i ),*(A+i)