diff --git a/exercise/ex2-76.c b/exercise/ex2-76.c index a592cf9..7f5bda2 100644 --- a/exercise/ex2-76.c +++ b/exercise/ex2-76.c @@ -26,8 +26,8 @@ int main(void) t = (x << 3) + x; printf("%d * %d = %d\n", x, 9, t); - /* C. K=30: (1<<5) - (1<<2) */ - t = (x << 5) - (x << 2); + /* C. K=30: (1<<5) - (1<<1) */ + t = (x << 5) - (x << 1); printf("%d * %d = %d\n", x, 30, t); /* D. K=-56: (1<<3) - (1<<6) */