commit 067c406f759a2b8c476dff45f68bdd7d70ef41ad
parent 37cb29600e24d0fdad5a46283083903b1cce12fa
Author: klewer-martin <martin.cachari@gmail.com>
Date: Fri, 12 Feb 2021 17:27:34 -0300
Update;
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/guia07/ex03.c b/guia07/ex03.c
@@ -2,14 +2,16 @@
int main (void)
{
- unsigned int a, b, c, d;
+ unsigned int aux, a, b, c, d;
a = 0157;
b = 0701;
c = 0673;
d = 067;
-
+ aux = 0b1101111;
+
printf("%o\n%o\n%o\n%o\n", a<<1, b<<2, c>>2, d>>3);
+ printf("%o\n", aux<<1);
return 0;