Character Pointer is a data type which holds the address of a primitive charter type variable.
Character pointer can point to a memory address which holds a character value in the form of ASCII Code. A static character array also decays into a char pointer. A Char pointer can be allocated memory dynamically using this syntax.
char *char_ptr = new char ;
It can also be allocated a whole char array and it points to the first index of that dynamic array.
char *char_ptr = new char [10] ;
Typically, as with other pointers, a char pointer takes 4 bytes of memory in the system. Its properties match those of other pointer types with slightly different behavior. The compound operation of assignment and output are allowed on char pointer. If a char pointer points to a cstring, these operations are possible on it which are not legal on any other pointer type.
char *char_ptr = "hello world" ;
cout << *char_ptr ;