sir I have only one doubt, at 17:16 time how did you wrote buf[10]="\0"? sir if our array is of size 10, then valid indexes will only be 0, 1,2, 3, 4, 5 , 6, 7, 8, 9. I guess, if we will write buf[10] it will not be able to acess and might throw an error and if its not throwing error even when we are accessing memory location out of bond? Other than this doubt of mine, everything was superb sir!!
I want to print the character array as a string so I have added end of the string character '\0'. In C programming size of the array check is not there, it maintains only based address of the array and calculate the address of element (base address + index value * sizeof(element)).
Thank you so much sir...
Bcz of you only i am able to learn the OS
Glad to hear that
Wow Sir Great Explanation ❤
Thank you for sharing your thoughts!
Thank u so much sir😊
Thank you very much sir
Most welcome
Sir thank you for the beautiful implementation and explanation
You are most welcome
Thank you sir
Your welcome
last class me mile the
thank you sir 😎😎
Most welcome
14:06 nice pun!. gg
sir I have only one doubt, at 17:16 time how did you wrote buf[10]="\0"? sir if our array is of size 10, then valid indexes will only be 0, 1,2, 3, 4, 5 , 6, 7, 8, 9. I guess, if we will write buf[10] it will not be able to acess and might throw an error and if its not throwing error even when we are accessing memory location out of bond?
Other than this doubt of mine, everything was superb sir!!
I want to print the character array as a string so I have added end of the string character '\0'. In C programming size of the array check is not there, it maintains only based address of the array and calculate the address of element (base address + index value * sizeof(element)).
is buff a keyword? or just a variable.
Take a character array as buff
Sir you are HOD in lpu na ?
Yes
sir do u teach in LPU ?
Yes I do
Sir....kuch bhi nhi smj aa rha😒
Try on your system, run the code. It will help.