Our last program is character_string.c, and it begins as follows:
#include <stdio.h>
int main( void ) {
charaChar = 'C' ;
char* pStr= "Learn to program with C" ;
// the other code snippets go here.
}
A character value, aChar, is defined with the Cvalue and apStrstringis defined to point to the start of the "Learn to program with C"string.