title: Convert small letter to capital letter
body: <p>I'm trying to convert string in small letter to capital letter.
  I got some error (access volation)
  what whould do?</p>
  
  <pre><code>int main()
  {
      char str[10];
      int i=0;
      scanf("%s", &amp;str);
      while (str[i] !=0)
      {
          str[i] += -32;
          printf("%s", str[i]);
      }
      return 0;
  }
  </code></pre>
  
  <p>thx</p>