title: Why the following code gives this output?
body: <p>I was tweaking with the <code>printf()</code> function.Since the <code>printf()</code> function takes a format specifier in order to recognize the datatype to print(Correct me if i'm wrong) the value of the datatype passed into it as argument,so I tried to do something like this---</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  int main()
  {
  char *f="%d";
  char *g="asd";
  
  printf(f,g);
  return 0;
  }
  </code></pre>
  
  <p>And the o/p is--</p>
  
  <blockquote>
    <p>4210739</p>
  </blockquote>
  
  <p>I am unable to understand why o/p is a number ?</p>