I copied this code from geeks for geeks.
#include<stdio.h>
int main()
{
int c;
printf("geeks for %ngeeks ", &c);
printf("%d", c);
getchar();
return 0;
}
It should print the characters from start to %n
followed by the number of printed characters:
But when I execute it, it's printing this: