#include <stdio.h>
int main()
{char string[100];
int c;
printf ("Digite o seu nome: "); printf ("\n\n Ola %s, string); return 0;
c=getchar();
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKCkKe2NoYXIgc3RyaW5nWzEwMF07CmludCBjOwpwcmludGYgKCJEaWdpdGUgbyBzZXUgbm9tZTogIik7CmdldHMgKHN0cmluZyk7CnByaW50ZiAoIlxuXG4gT2xhICVzLCBzdHJpbmcpOwoJcmV0dXJuIDA7CgljPWdldGNoYXIoKTsKfQo=
prog.c: In function 'main':
prog.c:6:1: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
gets (string);
^
prog.c:7:9: warning: missing terminating " character
printf ("\n\n Ola %s, string);
^
prog.c:7:1: error: missing terminating " character
printf ("\n\n Ola %s, string);
^
prog.c:8:2: error: expected expression before 'return'
return 0;
^
prog.c:10:1: error: expected ';' before '}' token
}
^
prog.c:4:5: warning: unused variable 'c' [-Wunused-variable]
int c;
^