. Consider the following programm listing that is written in the C Language: #in
ID: 3705621 • Letter: #
Question
. Consider the following programm listing that is written in the C Language: #include void main(void); unsigned char a 0x14; unsigned char b-0xCC; unsigned char c,d,e,f d- alb; e d while(1); a) Are the declared data types local or global variables? b) Perform bitwise logical analysis to determine the unknown values of the given logic expressions. Show the correct addresses and contents for all variables in the code listing. Hint: Draw/lustrate the proper order of placing data into the specified memory locations!!! c)Explanation / Answer
1. The declared variables are local since they are exists in the main method only. They will be lost their scope once they entered into the other function or anything else.....
2.value of a= 20 00010100
value of b = 204; 11001100
value of c=216; 11011000
value of d=220; 1011100
value of e=35; 0100011
value of c=220; 11011100
3.
// thanks in advance....
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.