Code not working

why is the code not able to print the string
S

define S as a char array