Is it possible to do the following?
And then to print, not the entire sentence, but only "hello" and then on another line to print "name" and etc.Code:
char s = " hello my name is john";
I'm not sure if this is possible since a char is an array and it stores each letter and the null character seperately. It doesn't recognize whole words.
Can this be done with sscanf maybe?