#include // HelloWorldRedux.C // burton rosenberg 22 mar 1997 // introduces the relationship between // strings, arrays and pointers void main () { char helloWorld[] = "Hello World\n" ; char * s ; s = helloWorld ; while ( *s != '\0' ) // the null character terminates the string { cout << *s ; // *s is a single character s++ ; // s is incremented, not what s points to. } }