summaryrefslogtreecommitdiff
path: root/including_printf.c
blob: ccea415c5a73c87c66e374f2668c5089859bb622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//#include <stdio.h>


int printf(const char *string, ...);

int scanf(const char *string, ...);

int main(void)
{

	char name[6];

	printf("Type your first name: maximum 5 letters for no reason at all.\n");
	scanf(" %5s", name);

	printf("Thats boring\n");	
	printf("%s\n", name);
	return 0;
}