Diff between const char pointer and const pointer to char
Вставка
- Опубліковано 28 вер 2024
- In this video we will learn what is the difference between const char pointer and pointer to const char.
This is asked in so many computer science interviews.
And then as a bonus tip I will explain what is const pointer to const char which is like superset of above two types.
JOIN ME
/ @cppnuts
/ cppnuts
#cprogramming #datatype #interview
You made it easy. Great. Thanks
Thank you
You're welcome
Never know that reading backward will make it easy to understand.
This is better than trying to find the answer from google.
Great tutorial.
Do you have tutorial on bitwise shifting thing?
I'm watching many Arduino tutorial and they use a lot bitwise shifting and comparison in their codes which I find difficult to understand.
for example ,this is the part of the code I don't understand
// Converts row and colum to bitmap bit and turn it off/on
void Plot(int col, int row, bool isOn)
{
int zone = col / 8;
int colBitIndex = x % 8;
byte colBit = 1
well explained, i would like to suggest that if you could explain/ tell whats the use-cases of these things(not just for what was explained in this one ) if you could add it in as an ending segment in your future video it would be really helpfull.
Sure…
I never thought I'd have to use const char * const ptr_name for a read only string but here we are
Rupesh, thanks a lot for you continuity, I have been all long with your teaching, a great help you have done to all of us, thanks a lot.
And just on the side note I wanted to get your suggestion, which mic are you using and do you use any specific software to record the screen, since I was trying to upload some videos as well, could you please guide me to make it. Thanks
Thanks..
Screen recording: default mac recording
Mic : Akg d5
Audio interface : scarlet solo 3rd gen
There is so much amazing and great tutorial content on UA-cam. When I watch one video I want to subscribe to that channel, then again UA-cam suggests another video and that is also amazing, I want to subscribe that channel as well. This process goes on..and then it becomes impossible to keep an eye on all the subscribed channels because the channel list is huge.. 😄
True!!
that backwards trick is really useful
Thanks
Thanks!!
Man. You are good at this
Just made it simple, thanks 👍
Great👍
make a video that explains volatile const * char = &i;
PS: This will help for embedded engineer interview questions.