Wonderful Teaching sir, it helps lot of students to clear their concepts in C which help to lead to learn any other programming languages. Thank you for your valuable teaching
Incredible explaination sir Couldn't thank you enough. I would even pay for your lectures which I rarely do online, but you worth it. Thank you so much.
great sir!! In C LANGUAGE i found only 2 channels are best ,one is Naresh i tecnologies and other is Neso Academy.These two r teaching in best level...,once again thank u soo much sir..
Well done, but it could have been better explained; When you declare int a=2; Considering 4 byte int (32 bits) and address of a (&a) equal to 1000 (random), it means that the first 8 bits of a are stored in byte #1000, then the next 8 bits in byte #1001, the next 8 bits in byte #1002 and the last 8 bits in byte #1003
U r great teacher....I have met many so called teacher...Actually cheater..They have collected money and taught bullshit...And I hv go there for project...He also not completed project.....So disbelief comes to mind that most so called teacher r evil for society...But some of teachers like u r boon for society....Respect from heart U r doing wonderful job..
Sir ....I am thankful to you..the way u explain these contents...it directly goes into my mind...really you explain the things in an easy manner...the best thing about ur lectures are that..you are so calm and the way u hold your patience is amazing...
Sir you said if the pointer is 2 bytes it will only access 2^16 memory blocks.... now when we are using float or double pointer of 2 byte memory how can it points to the 4 bytes or 8 bytes of data addresses?
sir as you say that pointer size range is 2^16 bit if address of variable is exceed to 2^16 than what is the size of the pointer sir?? suppose variable address is 123454678 than it is exceed from 2^16 than pointer is store address i.e :-123454678 than how the pointer is 2 byte it is the doubt sir hope you give reply of this problem
Here is the complete code for: Size of pointers: #include struct emp { int* eno; char* ename; float* esal; }; void main() { char* cp; int* ip; struct emp* sep; printf("size of char* is: %d",sizeof(cp)); printf("size of int* is: %d",sizeof(ip)); printf("size of emp* is: %d",sizeof(sep)); }
sir as you told that it will either 2 or 4 then I executed the same code in DEV c++ with only int & char but here in this, I am getting output as 8. why sir ???
char str[25]="string" , * p =str; printf("%s ",p); You should write it this way to print out string > as *p must point to another address location and "string" dose not have an address in the memory and it is wrong way to initialize a pointer
also you can print any string using loops but you will print character by character until you reach the NULL '\0' terminator.. char str[25]="string" , * p =str; for(int i =0 ;*p!='\0' ;i++) { printf("%c",*p++); }
Wonderful Teaching sir, it helps lot of students to clear their concepts in C which help to lead to learn any other programming languages. Thank you for your valuable teaching
omg, thank youu sooo muchh sirr...live longer and stay blessed sir
Incredible explaination sir
Couldn't thank you enough. I would even pay for your lectures which I rarely do online, but you worth it. Thank you so much.
Explained everything in a great way atleast better then that of University Professors..... Helped me a lot to clear my doubts ...Thank you sir🙏🏼💫
great sir!! In C LANGUAGE i found only 2 channels are best ,one is Naresh i tecnologies and other is Neso Academy.These two r teaching in best level...,once again thank u soo much sir..
awesome teaching sir!!! A non CS student can easily learn the concept. very helpful! Thank you sir.
I could not express my gratitude in words sir. You are so Wonderful in your teaching methods sir. and you helped a lot during online classes.
I have never come across to any Indian teacher with this much clarity both in teaching and English speaking.. thanks for this quality teaching
Well done, but it could have been better explained;
When you declare
int a=2;
Considering 4 byte int (32 bits) and address of a (&a) equal to 1000 (random), it means that the first 8 bits of a are stored in byte #1000, then the next 8 bits in byte #1001, the next 8 bits in byte #1002 and the last 8 bits in byte #1003
Wonderful explained
Sir
Great video.Thank you so much sir..💜.Wonder full teaching...more understanding☺
U r great teacher....I have met many so called teacher...Actually cheater..They have collected money and taught bullshit...And I hv go there for project...He also not completed project.....So disbelief comes to mind that most so called teacher r evil for society...But some of teachers like u r boon for society....Respect from heart
U r doing wonderful job..
Awesome teaching sir...I have never seen such a clear explanation...Thank you so much....Have a bright future
Tnx madam 😁
Thank u Sir. You lectures will help me a lot in my MIT. Salute Sir Jee.
Manipal institute of technology?
Sir ....I am thankful to you..the way u explain these contents...it directly goes into my mind...really you explain the things in an easy manner...the best thing about ur lectures are that..you are so calm and the way u hold your patience is amazing...
sir you have cleared my very big concept thank you very much
Excellent teaching sir.good
Excellent sir it helps to understand c in easy way
Extraordinary teaching this class is so helpful to me
Sir you said if the pointer is 2 bytes it will only access 2^16 memory blocks.... now when we are using float or double pointer of 2 byte memory how can it points to the 4 bytes or 8 bytes of data addresses?
address also lies btwn 2^16
You are great teacher for programming
Great explanation! Thank you sir.
too excellent teaching ur great great sir.....too thankful for posting this video
Great Explanation Sir, thank you very much, its very easy to learn C in a simple way!
Great conceptual clearity in your lectures 🙏
Thank u sir.. for... Explaining.. This... Concept!!
u r really great sir...keep teaching...and thankyou sir.
Like karo yaar itna acha sikhaya hai to .Itne views hai achha lago to like karo.Encourage such people.
i disliked
Best teacher I saw, thank you sir
clearly explained sir...Thank you
Awesome. I never learnt in university.
dislike krme wale sir ke koi kreebi dushman honge..teaching style is very nice .ye jo dislike kiye kabhi kamyab na hone wale hain
Sir, I need complete information about function pointers,about of volatile keyword
This is the only channel that gives a conceptual understanding of C.
Iam full satisfied with ur lectures sir
awesome teaching sir
Sir plzz explain about structure and union sir
I like your way of teaching
super 👍
Good Teaching, Easily understand the concepts...Keep Going
It's interview related question..!! Wonderful
how good you are/....so nicely explained
thank you very much sir
sir your class is good but please explain in bitswise in values ,how output value is change
sir as you say that pointer size range is 2^16 bit if address of variable is exceed to 2^16 than what is the size of the pointer sir??
suppose variable address is 123454678 than it is exceed from 2^16 than pointer is store address i.e :-123454678 than how the pointer is 2 byte
it is the doubt sir hope you give reply of this problem
Here is the complete code for: Size of pointers:
#include
struct emp
{
int* eno;
char* ename;
float* esal;
};
void main()
{
char* cp;
int* ip;
struct emp* sep;
printf("size of char* is: %d",sizeof(cp));
printf("size of int* is: %d",sizeof(ip));
printf("size of emp* is: %d",sizeof(sep));
}
iam getting 4 errors near printf line
@@dasidharani4589 Don't worry. With a relax mind, once check again. What are those errors?
Thank you so much sir.Explained very well🤗
nice explanation sir, can you please tell me how struct emp occupied 26 bytes,thanks in advance
wonderful Teaching sir.
Excellent teaching 👏👌👍
Best teacher... Thank you so much for ur efforts
Now my doubt is clear thank you sir
Damn great, bit slow, I have to increase the speed of video, however, for the content is all oki.
Thanks a lot for the effort.
Thank you sir
Explanation is very nice sir
Thanks you so much sir , you lectures are very helpful
Sir, in the size of function could we write like sizeof(cp*) even after declaring it like char* cp? Please please clarify.
same doubt!... if u got clarified ...please tell me
@@rohanjosh5752 same doubt clarify please
@@matambasavaraju3430 what is your doubt brother?
example scenario too excellent
wonderful explanation of pointer address
Sir please upload the concept of self referential structures
Hi sir I have one doubt in which scenario pointer variable will already occupies 1byte memory from 2bytes can you please explain with example
Sir, if we initialising the pointer as char or float, then how can we store the address , which will be of integer type ?
crystal clear sir
sir can you please explain oops concept you explain better than other professor please sir teach us c++ oops concept
Great teacher
Sir why only the integer size alone changing not anyother type or does any other datatype also change its size of memory? Pls ans
Happy teachers day sir
Nyc explanation sir
it was really helpful
Thanks sir
tqq u sir easy way to understand
very helpful sir your lectures
GOD IN THE FORM OF U SIR
you are an awesome faculty.....
Is this topic important to get placed in a software company? I mean size of pointer and whole pointers topic
I have a doubt , if pointers have same size then is it possible to use "int" type pointer to store address of "char" type data and vice versa?
this makes difference between the great teacher from the good teacher
Thank you sir ❤️
Best sir👍🏻👍🏻👍🏻👍🏻👍🏻
lecturer, student -great sceanrio
very nice sir
Very cool technique.....
Thanks a lot sir. You are the best.
Beautiful
nice teaching,sir lot more...get thanks
Thankyou sir!!!
Ty so much
thalivaaaaaaaaaaaaaa ur great.....................
i have a doubt , is there any difference between pointers in c vs pointers in c++ ?
Both are same
sir plz discuss the size of void pointers
Superb sirji
Nice information
Excelent explanation sir
thank you
sir as you told that it will either 2 or 4 then I executed the same code in DEV c++ with only int & char
but here in this, I am getting output as 8.
why sir ???
Even me2 i am using code block compiler
because it's 8 for 64-bit c-compilers
Thanks sir
please try to pay attention once again.....u will get cleared how the compiler to compiler based on pointing memory size varies
because it's a 64 bit compiler and 64/8=8bytes
great too clear
very helpful sir
U teach amazing sir...but u should smile sometimes.... please...
thnk u sir
16 bit compiler size of short should be 1 byte
Char *p="string";
In this case wha 'printf("%s",*p);' should print?
Please answer..
char str[25]="string" , * p =str;
printf("%s
",p);
You should write it this way to print out string > as *p must point to another address location and "string" dose not have an address in the memory and it is wrong way to initialize a pointer
also you can print any string using loops but you will print character by character until you reach the NULL '\0' terminator..
char str[25]="string" , * p =str;
for(int i =0 ;*p!='\0' ;i++)
{
printf("%c",*p++);
}