Compare commits

..

1 commit

Author SHA1 Message Date
e378aa9473 new feature
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-01-15 15:00:26 +01:00

11
main.c
View file

@ -1,4 +1,13 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
int main() { return NULL; } int main(void) {
char *name = malloc(10);
printf("What's your name?\n> ");
scanf("%s", name);
printf("Hello %s!\n", name);
return NULL;
}