Write a preprocessor command that prints on the string its parameter


Difficulty level
This exercise is mostly suitable for students
#include <stdio.h>
#define OUT(x) printf(#x)

int main()
{
     OUT(Hello People);

     return 0;
}

Back to the list of exercises
Looking for a more challenging exercise, try this one !!
Program output 9