title: Using %s in C correctly - very basic level
body: <p>I know that %s is a string of characters, but I don't know how to use it.
  Can anyone provide me a very basic example of how its used and how its different from char ?</p>
  
  <hr>
  
  <p>(edited)</p>
  
  <p>i'm 2 weeks into this course, it's my first time programming. I'm not allowed to use material that hasn't been taught yet on the assignments, so that's why I asked. I have a few books on C and have googled but still wasn't sure, so I asked. (thanks for all the down-votes) All the examples given below use arrays which hasn't been taught yet, so I'm assuming I can't use %s yet either. Thanks. </p>