Home | Department of Computer Science

Java and Python begin subscripts with 0.) To declare a string of characters (note strings end with a zero byte terminator): char variableName [sizePlus1]; char variableName [] = initialValue; A zero byte is the constant '\0'. A literal character string surrounded in double quotes is automatically terminated with a zero byte. Note that arrays of characters do . not . have to be zero byte ... ................
................