printf - What is the use of the %n format specifier in C? -


In C, the % n is the use of the format specifier? Can someone explain with an example?

Nothing has been printed Logic should be an indicator for signed int, where so far The number of characters is stored.

  #include & lt; Stdio.h & gt; Int main () {int val; Printf ("Blah% N Blah \ n", and Val); Printf ("val =% d \ n", wal); Return 0; }  

Previous code print:

  blah blah val = 5  

Comments

Popular posts from this blog

google indexing -

php - How to paginate multiple results in CakePHP? -

wpf - Converter stops filter working -