projects
- intro (due 20140124)
- "Hello, World!" (due 20140131)
- data types (due 20140207)
- Squares (due 20140214)
- Day of Week (due 20140221)
- Nikhilam (due 20140228)
- Multiply by 11 (due 20140307)
- Vertically and Crosswise (due 20140321)
projects
#include <stdio.h> int main() { unsigned int e = 65535; // [0]:0, [1]:0, [2]:255, [3]:255 int i; char d = 1, c = 67, b = 3, a = 4; char *f; f = &a; printf("&d is 0x%X\n", &d); printf("&c is 0x%X\n", &c); printf("&b is 0x%X\n", &b); printf("&a is 0x%X\n", &a); printf("f[2] is: %hhu\n", *(f+2)); f = &e; for(i = 0; i < 4; i++) printf("f[%d] is: %hhu\n", i, *(f+i)); return(0); }