Glad I found this channel, now programming my MSP430 will be much simpler. Thank you sir, you have earned my subscription and hope your channel keeps growing. 🤞
Very well explained sir, and most importantly you related it with c beautiful by explaining each aspect of c programming. I have one doubt when we are defining pointer we are already assiging it with memory adress of variable, but then why do you assigned it again using &a. Please explain where am I missing. Thanks
Hi Nirbhay, thanks a lot for your kind comment. About the pointer section of the video, let me try to clarify it here, the example code was as follows: int a =3; //here we define the integer a and assign value 3 to it int *pointer_a; // here we define a pointer, however it has no connection with the variable 'a', the name 'pointer_a' doesn't mean anything. it could be 'nirbhay', 'selim' or 'youtube' or 'blablabla' ... pointer_a = &a // this is the line that we make the connection with the pointer and the memory address of a. After executing this line, 'pointer_a' stores the memory address of variable 'a' I hope this explanation supported you for clarifying the concept.
Glad I found this channel, now programming my MSP430 will be much simpler. Thank you sir, you have earned my subscription and hope your channel keeps growing. 🤞
Thank you for your comment. I’m glad you found the content useful 👍
I finally understood what pointers are in the 6th semester of my IT studies haha. Thank you very much for that!
You’re welcome :)
jezz, this Turkish guy is real hero
Merhaba, counter i artirduginizd, yaninda parantez icinde rastgele degerler gozukuyor, onlar adreslerdeki degerler mi?
Thanks for the useful info sir. Same program can I try using in other controller right sir? In MSP430FR2355 FR2355
@drselim
Hi, you’re welcome. You surely can use CCS to program other TI development boards. You need to choose your board/mcu type while creating your project.
thank you
You’re welcome
Very well explained sir, and most importantly you related it with c beautiful by explaining each aspect of c programming.
I have one doubt when we are defining pointer we are already assiging it with memory adress of variable, but then why do you assigned it again using &a. Please explain where am I missing. Thanks
Hi Nirbhay, thanks a lot for your kind comment.
About the pointer section of the video, let me try to clarify it here, the example code was as follows:
int a =3; //here we define the integer a and assign value 3 to it
int *pointer_a; // here we define a pointer, however it has no connection with the variable 'a', the name 'pointer_a' doesn't mean anything. it could be 'nirbhay', 'selim' or 'youtube' or 'blablabla' ...
pointer_a = &a // this is the line that we make the connection with the pointer and the memory address of a. After executing this line, 'pointer_a' stores the memory address of variable 'a'
I hope this explanation supported you for clarifying the concept.
@@drselim thanks sir it's clear now, I am going to watch all your videos today and will be posting my doubts. Thanks again sir
@@NKumar318 You're welcome