Hi guys!
I would like to printf a string using quotes e.g.
I would like my output to be like "Hello" and not Hello.
e.g.
char *name = "Hello";
printf(" "%s" \n",name);
But i get the output :
a.c: In function `main':
a.c:128: error: `s' undeclared (first use in this function)
a.c:128: error: (Each undeclared identifier is reported only once
a.c:128: error: for each function it appears in.)
a.c:128: error: parse error before string constant
What shall i do in order to get "Hello" ?
Thanks, in advance