Horje
constant pointer c++ Code Example
constant pointer c++
int* // pointer to int
int const * // pointer to const int
int * const // const pointer to int
int const * const //const pointer to const int
  
// Now the first const can be on either side of the type so:
const int * == int const *
const int * const == int const * const

// If you want to go really crazy you can do things like this:
int ** // pointer to pointer to int
int ** const // a const pointer to a pointer to an int
int * const * // a pointer to a const pointer to an int
int const ** // a pointer to a pointer to a const int
int * const * const // a const pointer to a const pointer to an int




Cpp

Related
how to declrae an array of size 1 Code Example how to declrae an array of size 1 Code Example
C++ Area and Circumference of a Circle Code Example C++ Area and Circumference of a Circle Code Example
dev c++ tahe last word error Code Example dev c++ tahe last word error Code Example
can you verify adsense no ssl certificate Code Example can you verify adsense no ssl certificate Code Example
expected number of trials to get n consecutive heads Code Example expected number of trials to get n consecutive heads Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12