C Tutorial char*

Data types in C
Arrays in C
Pointers in C
Pointer Dereferencing
The & Operator
NULL
Uninitialized Pointers
Using Pointers
C Strings
String Code Example
Large Strings
Char type pointers

TypeDef



 
 
 

 

HOME
 

Because of the way C handles the types of arrays, the type of the variable

localString above is essentially char*. C programs very often manipulate strings using variables of type char* which point to arrays of characters. Manipulating the actual chars in a string requires code which manipulates the underlying array, or the use

of library functions such as strcpy() which manipulate the array for you. See Section 6 for more detail on pointers and arrays.

Want To Know more with

Video ???