1 #include <stdio.h> 2 3 int main (void) 4 { 5 unsigned int aux, a, b, c, d; 6 7 a = 0157; 8 b = 0701; 9 c = 0673; 10 d = 067; 11 12 printf("%o\n%o\n%o\n%o\n", a<<1, b<<2, c>>2, d>>3); 13 14 return 0; 15 16 }
9511_workbooksolved exercises from algorithms & programming I (9511) prof. Cardozo |