i tried executing the following program:
main()
{
int i=250;
printf("%n",&i);
printf("...%d",i);
}
and got the output as...1
the output is same for any value of i
please explain me the output and the function of format specifier %n
Thank u for any help
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.