ASCII code for the NULL character is \0
#include <stdio.h> int main(){ char myname[4]; myname[0] = 'D'; myname[1] = 'a'; myname[2] = 'n'; myname[3] = '\0'; printf("%s \n",myname); }
Dan