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

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -