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: <9801041050.AA01283@vanavil> To: cepg9666@vanavil 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&amp;c printf(&quot;%d\n&quot;, j) if(j&amp;a) i&amp;=a else i&amp;=b printf(&quot;%d\n&quot;, i) k = 15 k&amp;=~a printf(&quot;%d\n&quot;, k) printf(&quot;the value of e is %d\n&quot;, e) k = e printf(&quot;%d\n&quot;, k&gt;&gt;2) }...
View Full Document

Ask a homework question - tutors are online