Diff between const char pointer and const pointer to char

  Рет қаралды 5,748

CppNuts

CppNuts

Жыл бұрын

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

Пікірлер: 14
@CYB3r_D3m0n
@CYB3r_D3m0n 10 ай бұрын
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.
@CppNuts
@CppNuts 10 ай бұрын
Sure…
@binoypilakkat7830
@binoypilakkat7830 3 ай бұрын
Man. You are good at this
@berwick82
@berwick82 11 ай бұрын
You made it easy. Great. Thanks
@GeniusEngines
@GeniusEngines 11 ай бұрын
Just made it simple, thanks 👍
@TheBuilder
@TheBuilder 4 ай бұрын
that backwards trick is really useful
@69k_gold
@69k_gold 7 ай бұрын
I never thought I'd have to use const char * const ptr_name for a read only string but here we are
@tuti-fruti9983
@tuti-fruti9983 Ай бұрын
Thank you
@abdullahsharaawy
@abdullahsharaawy 2 ай бұрын
Thanks
@ChandraShekhar-by3cd
@ChandraShekhar-by3cd 11 ай бұрын
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
@CppNuts
@CppNuts 11 ай бұрын
Thanks.. Screen recording: default mac recording Mic : Akg d5 Audio interface : scarlet solo 3rd gen
@ergingokkaya8323
@ergingokkaya8323 11 ай бұрын
Great👍
@jumbo999614
@jumbo999614 2 ай бұрын
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
@chayakumarsedutainment4799
@chayakumarsedutainment4799 10 ай бұрын
make a video that explains volatile const * char = &i; PS: This will help for embedded engineer interview questions.
The What, How, and Why of Void Pointers in C and C++?
13:12
Jacob Sorber
Рет қаралды 51 М.
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 9 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 11 МЛН
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 8 МЛН
What is the Difference Between a Pointer and a Reference C++
7:58
Paul Programming
Рет қаралды 426 М.
A const int is not a constant.
9:16
Jacob Sorber
Рет қаралды 66 М.
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 291 М.
unique_ptr: C++'s simplest smart pointer
11:54
mCoding
Рет қаралды 41 М.
Use Arc Instead of Vec
15:21
Logan Smith
Рет қаралды 140 М.
Pointers and dynamic memory - stack vs heap
17:26
mycodeschool
Рет қаралды 1,4 МЛН
C++ Pointers - Finally Understand Pointers
15:56
Caleb Curry
Рет қаралды 209 М.
how Google writes gorgeous C++
7:40
Low Level Learning
Рет қаралды 829 М.
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 9 МЛН