Page t047, go to NEXT, PREVIOUS, INDEX

Character Strings


Character strings are special case of array and array initialization

      char hello1[] = { 'H', 'i' };

The above is too tedious, so use double quotes

      char hello2[] = "Hi";

C Course, 22-jan-1997, Peter Klok, pfk@hef.kun.nl