how to use the print macro with a unknown argument
===

this code doesnt work but when I put print(7) this works fine

    #include<stdio.h>
    #define print(i) printf("%"#i"c",ch);
    int main(void) 
    {
        char ch ='*';
        int N;
        scanf("%d",&N);

        if (N%2 == 0)
        {
                print(N); // print(7);
        }
        else
        {

        }
    }

Here is the compilation output

     gcc draw.c -o draw
     draw.c: In function ‘main’:
     draw.c:11: warning: unknown conversion type character ‘N’ in format
   
How can I get the code to work for a user inserted input . Please help.