init commit
This commit is contained in:
4
learncthehardway/4/Makefile
Normal file
4
learncthehardway/4/Makefile
Normal file
@ -0,0 +1,4 @@
|
||||
CFLAGS=-Wall -g
|
||||
|
||||
clean:
|
||||
rm -f ex4
|
BIN
learncthehardway/4/ex4
Executable file
BIN
learncthehardway/4/ex4
Executable file
Binary file not shown.
14
learncthehardway/4/ex4.c
Normal file
14
learncthehardway/4/ex4.c
Normal file
@ -0,0 +1,14 @@
|
||||
#include <stdio.h>
|
||||
|
||||
/* Warning: This program is wrong on purpose. */
|
||||
|
||||
int main()
|
||||
{
|
||||
int age = 10;
|
||||
int height;
|
||||
|
||||
printf("I am %d years old.\n");
|
||||
printf("I am %d inches tall.\n", height);
|
||||
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user