not much to show for this one, but I'm pretty sure I get it :-P

cat-town
Dan Buch 14 years ago
parent 7f11279bfd
commit 7532ba866a

3
.gitignore vendored

@ -1 +1,2 @@
gowrikumar/* gowrikumar/00-sizeof
gowrikumar/02-dowhile

@ -0,0 +1,20 @@
/**
* :author: Dan Buch (daniel.buch@gmail.com)
*/
#include <stdio.h>
int main()
{
int i = 1;
do
{
printf("%d\n", i);
} while(++i < 15);
return 0;
}
/* vim:filetype=c:fileencoding=utf-8
*/

@ -1,10 +1,12 @@
# puzzles from http://www.gowrikumar.com/c/ # puzzles from http://www.gowrikumar.com/c/
all: 00-sizeof all: 00-sizeof 02-dowhile
00-sizeof: 00-sizeof.o 00-sizeof: 00-sizeof.o
00-dowhile: 00-dowhile.o
.PHONY: all .PHONY: all

Loading…
Cancel
Save