Standard input/output help C language

Assume that word is an array of chars containing a string . Write a statement to display the message "Today's Word-Of-The-Day is: " followed by the value of word on standard output .

My code:

printf("Today's Word-Of-The-Day is: " , *word);

Error results:

http://prntscr.com/ddlrh5
Last edited on
Try this:
printf("Today's Word-Of-The-Day is: %s" , word);
Topic archived. No new replies allowed.