Changed name of dumbtest.c to ex1_7.c to reflect what exercise was completed in this code.
This commit is contained in:
parent
9ed3796014
commit
a36892d8be
1 changed files with 9 additions and 0 deletions
9
KNR C/ex1_7.c
Normal file
9
KNR C/ex1_7.c
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(){
|
||||||
|
|
||||||
|
int a = getchar() != EOF;
|
||||||
|
printf("%d", a);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue