void main int a32767 printfd a void main Slides: 25 Download presentation void main() { int a=32767; printf(“%d”, a); } void main() { int a=32769; printf(“%d”, a); } void main() { int a=1232. 5; printf(“%d”, a); } void main() { int a=-32779. 205; printf(“%d”, a); } void main() { float a=-3279. 205; printf(“%d”, a); } void main() { int a=-3279. 205; printf(“%f”, a); } void main() { float a=-32779. 205; printf(“%f”, a); } void main() { float a=-32779. 205; printf(“%. 1 f”, a); } void main() { float a=69; printf(“%f”, a); } void main() { int a, b, c; a=5; b=2; c=a/b; printf(“%d”, c); } void main() { int a, b; float c; a=5; b=2; c=a/b; printf(“%f”, c); } void main() { float a, b, c; a=5; b=2; c=a/b; printf(“%f”, c); } void main() { int a, b; float c; a=5; b=2; c=(float)a/b; printf(“%f”, c); } void main() { char s=65; char ch=‘A’; char st=‘ 25’; printf(“%d”, ch); 65 printf(“%c”, ch); A printf(“%d”, s); 65 printf(“%c”, s); A printf(“%c”, st); 2 printf(“%d”, st); 50 } � Try some of these: printf(“%c”, -100); £ printf(“%c”, -128); Ç printf(“%c”, -130); ~ printf(“%c”, 100); d printf(“%d”, -10); -10 printf(“%x”, 1>>4); ffff printf(“%x”, 16); 10 � Try some of these: printf(“%d”, -100); printf(“%. 2 f”, 128); printf(“%f”, -130); printf(“%c”, 91); printf(“%d”, 34342); printf(“%x”, 1004); printf(“%x”, 16); #include<stdio. h> void main() { printf("%d", 5+3*6/2 -5); } 9 void main() { printf(“%d”, printf(“vita”)); } void main() { char s=5; s++; printf(“%d”, s); printf(“%d”, s++); printf(“%d”, s); printf(“%d”, ++s); printf(“%d”, s); } 6 6 7 8 8 void main() { int s=5; s++; printf(“%d”, s); printf(“%d”, s--); printf(“%d”, s); printf(“%d”, --s); printf(“%d”, s); } 6 6 5 4 4 void main() { char s=5; printf(“%d%d”, ++s, s++, ++s); printf(“n%d”, s); } 9866 9 Bitwise Operators 3^2&~1 1