Difference Between const int *ptr , const int *const ptr , and many |Concept of Pointer in C/C++

preview_player
Показать описание
The lecture has following concept of Pointer in C/C++.
const int *P;
int const *P;
int * const P;
const int * const P;
const int const *P;
int const * const P;
const int const * const P;

1st) const int *P;
this is the Pointer which is a non-const pointer and points either a const variable or non-const variable.( Explanation with examples is present in Video).

2nd) int const *P; ---) Watch in Video.

3rd) int * const P;
This means Pointer is const and only points to one variable which is non-const.

4th) const int * const P;
Rest of them Watch in the video, Explain with examples and not forget to subscribe our channel for more logical videos on Programming and Game Development.

#Share_Video_On_Your_Groups
#Play_My_New_Game#Link_In_Description
(Rate it 5 Star if you like the concept) :)
#Share_Video_In_Your_Groups#With_Friends#Learn_Unity3D

Playlist for This Game---

MY GAME WITH INTERESTED MUSIC AND GRAPHICS-

it takes more than 2 months for making this. Everything is made by me, So download it & Review it ( If You like the game and like my channel)

If You Like it than Review it, It Motivates me Lot.

The Playlists for learning Unity3D Game development from scratch –

Make Google Dino Game from Scratch -

How to Begin With C# Scripting in Hindi ( Easy Way )-

How to animate Characters in Unity ( 30 Minute Tutorial ) in Easy Way-

Make 3D View in 2D Games (Concept of Parallax Scrolling ) in Hindi –

Learn C Programming from Scratch -

Playlist to learn C# Programming from Scratch in HINDI in an easy way –

Talk me on Instagram -

Linkedin -

AND THERE ARE MANY SUCH VIDEOS PRESENT IN OUR CHANNEL, Which helps you to grow very fast from others.

Some tags are taken from Google on Const Pointers-------
#what is a pointer in c #what are pointers in c #what is pointer in c #c pointers #c pointer
#programming in c #programming with c #programing in c #c programming #c programing #program c #c program #program in c #programs in c #c programs #
#C++ConstPointer
#ConstPointerInC
#ConstInC++
#const int ptr int
What is the difference between const int * and int const *?
Const pointers and pointers to const
What is the difference between const int *ptr and int *const ptr .
Difference between const char *p, char * const p
const int arduino
comment on the following const int ptr
int const ptr &x
c const pointer parameter
how to use const in c
(type * const)
c++ return const pointer
const int arduino
const in c tutorialspoint
c++ const vs #define
c const array
const c
c89 const
use of volatile qualifier
const int *ptr mcq
const int *ptr means
return type of strcmp() function in c
char *p=null char *q=0
a null pointer points to
major disadvantage of array
int const arduino
indexing of array in c
indirection operator in c
developer c language
const in c
change value of const int c++
what is reference variables
c++ pointer to struct field
c++ assign const pointer to non-const pointer
c++ const pointer parameter
const pointer c
const int c++
(type * const)
c++ return const pointer
const int arduino
const in c tutorialspoint
c++ const vs #define
c const array
const c
c89 const
use of volatile qualifier
const int *ptr mcq
const int *ptr means
return type of strcmp() function in c
char *p=null char *q=0
a null pointer points to
major disadvantage of array
int const arduino
indexing of array in c
indirection operator in c
developer c language
const in c
change value of const int c++
what is reference variables
c++ pointer to struct field
non const pointer to const int
const int ptr mcq
#compiler c online #python programs #python programme #array c #int array c #c array #what is array in c #c int array #c program on pattern #pattern program c #program for pattern in c #pattern c program #c programming patterns #
Рекомендации по теме
Комментарии
Автор

Easy to you tell the concept in easiest way, , , , very informative vid tnq sir

gourabshaw
Автор

Thank you so much for clearing my doubt sir.

tushargoyal
Автор

Same question puchha tha badii bejjatii k thi preshaan krdia thaa, abb puchee thanks a lot

rajubakait
Автор

Thank you so much bro!! This person give full effort to clear the dout and plz give here a full support to his channel..😌 luv ❤ bri

ranchoo
Автор

In simple words if const is between astrick (*) and name of pointer

int * const p;
int *const p;
int* const p:

then pointer is constant we cannot re-point to some other address

else in other scenarios pointer's value is treated as const like

const int *p;
int const *p;
const int const *p;

tarunwadhwani
Автор

Initially I was afraid of using const keyword,

now I am confidence enough to use it

Make more such video

Thank you bro 🤜❤

anshulkumarneekhara
Автор

So bhai,
const int const * p; = int const *p;
const int * const p; = int * const p;
Am I right?

kishankini
visit shbcf.ru