title: Scanf string and set pointer
body: <p>I want scanf string and set pointer to him. String input is each time different so I can't set like <code>char input[20]</code>. So far no success.</p>
  
  <pre><code>int main(void) {
      char input;
      char *input_string = input;
      scanf("%s", &amp;input_string);
  
      int i = 0; 
      while (input_string[i] != '\0') {
          printf('%d', input_string[i]);
          i++;
      }
  }
  </code></pre>