P
prophet
I am sorry if this is not the concerned group.I am gettin following
problem while compiling this code:
#include<stdio.h>
#define PRI(item) printf ## (" ## item ## ");
void main()
{
PRI(hello)
}
While compiling i get
a.c:5:1: pasting "printf" and "(" does not give a valid preprocessing
token
What could be the possible problem with the macro defination?
problem while compiling this code:
#include<stdio.h>
#define PRI(item) printf ## (" ## item ## ");
void main()
{
PRI(hello)
}
While compiling i get
a.c:5:1: pasting "printf" and "(" does not give a valid preprocessing
token
What could be the possible problem with the macro defination?