I am building my own version of the printf function in C and I need to replicate the original's behavior. I am trying to throw a compile error in a situation like the one written below:
// printf("%s %s", 3, 2);
How can I force a compile error when the code below gets executed?
I wanted to display the following error:
format specifies type 'char *' but the argument has type 'int'