Question: . Please explain the reasoning behind these solutions to me. This is written in C. Laboratory Worksheet #02 Logic Exercise Answer the following questions given:
.
Please explain the reasoning behind these solutions to me. This is written in C.
Laboratory Worksheet #02 Logic Exercise Answer the following questions given: char a,b,c,d a 0x01 b 0x00 c0x00 a-0xFF 0x09 What is the value of d after execution of each of the following lines? 0x00 0x09 0x04 0x0C 0x00 3) d b &0x04 4) d = b & -0x33; Are the following TRUE or FALSE? 6) (a &&c) 7) (b && c) 8) (b &&0x04) false true Also answer the following: What is the value of d after execution of each of the following lines? 10) d b l 0x10; 11) d= b I -a ; 12) d= b 1 1a; 0x09 0x1F OxFF 0xOF Are the following TRUE or FALSE? 13) (a l c 14) (a I (c&0x10)) 15) (a I Ib) false false When complete, insert Worksheet 2 in your laboratory notebook. Worksheets are required when notebooks are graded
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
