Hi,i was doing c program to read files and manipulate it.
i gotthen, i wanted to add a extra letter at the end? how to do it?any one can tell?Code:char *word="test";
that means i wanted
the above doesnt work.any idea to go about adding a extra letter at the end.Code:char *word="test"; word='z'; //adding z to the end so i can get 'testz' word='\0'; //word would now be 'testz' instead of 'test'