problem - void main unsigned int i,j,k enum{a = 0x1,b =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 From oepg9627 Sun Jan 4 10:50:05 1998 Received: by vanavil (AIX 3.2/UCB 5.64/4.03) id AA01283 Sun, 4 Jan 1998 10:50:04 GMT Date: Sun, 4 Jan 1998 10:50:04 GMT From: oepg9627 (Pullabhotla Srinivas) Message-Id: <98010[email protected]> To: [email protected] Status: RO #include<stdio.h>
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: void main() { unsigned int i,j,k enum {a = 0x1,b = 0x2,c = 0x4,d = 0x10,e = 0x20 } i = 23 j=i&c printf("%d\n", j) if(j&a) i&=a else i&=b printf("%d\n", i) k = 15 k&=~a printf("%d\n", k) printf("the value of e is %d\n", e) k = e printf("%d\n", k>>2) }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online