Here is the code
#include <stdio.h>
int main()
{
printf ("\t%d\n",printf("MILAN"));
printf ("\t%c",printf("MILAN"));
}
Here is the output
$gcc -o main *.c
$main
MILAN 5
MILAN |
Now the question is
Why printf return | when we are printing characters (formatter as %c) ?
What is the relation between 5 and | here?