title: printing int in c by %s in printf
body: <p><a href="https://i.stack.imgur.com/Zzv8S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Zzv8S.png" alt="Compiled in Borland C++ compiler"></a></p>
  
  <blockquote>
    <p>The compiler doesn't mark it as any error.</p>
  </blockquote>
  
  <ul>
  <li>I know that it's wrong,</li>
  <li><p>but I want to know why it's showing the name of the company.</p>
  
  <ol>
  <li>And it doesn't show this message if I type any value less than 4,</li>
  <li>it gives different outputs for different such values, try some
  values like 50, 100,etc.</li>
  </ol>
  
  <p>Why it's showing such strange outputs.</p></li>
  </ul>
  
  <h2>Here is the program.</h2>
  
  <pre><code>void main()
  {
  
    int a=6;
  
    printf("%s",a);
  
  }
  </code></pre>