Question: Write a program that inputs 2 unsigned chars [remember these are 8 bits] and then uses separate functions to determine the AND, OR and exclusive
- Write a program that inputs 2 unsigned chars [remember these are 8 bits] and then uses separate functions to determine the AND, OR and exclusive OR operations between the two unsigned integers. Use function prototypes before main() and the actual functions after main(). Display the results and compare them to doing them by hand using the truth table. Program in C.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
