for_uint/for_uint.c added

This commit is contained in:
Kolan Sh 2013-09-17 18:16:34 +04:00
parent b4d87c4abf
commit a49e3ca779
1 changed files with 19 additions and 0 deletions

19
c/for_uint/for_uint.c Normal file
View File

@ -0,0 +1,19 @@
#include <stdio.h>
#include <stdint.h>
int
main (void)
{
uint8_t a = 0,
b = 255,
c;
c = a;
do
{
printf ("%d,", c);
}
while (c++ != b);
return 0;
}