0
How do I add "" to an input? I tried to do it in many ways but the one I got closest to was this, but it does not return a word, it returns "(null)"
int main(void) {
char p;
char x = 34;
printf("Palavra: ");
scanf("%s\n", p);
printf("%c%s%c\n", x, p, x);
return 0;
}