• + 0 comments

    The %n specifier does not print anything and the corresponding argument must be a pointer to signed integer where the number of characters written so far is stored.

    int count;

    printf("Jashin is a good coder %n,but not Best. ",&count);

    /* now compiler with count the number of character before %n and will assign to count variable.*/

    printf("%d",count); 23