Question: Can someone explain step by step how he gets the answers? I get only 1 and 195 Example 1: Write the value of port P

Can someone explain step by step how he gets the answers? I get only 1 and 195
Example 1: Write the value of port P through the provided code int PORTP 1 int z 2 void main(void) while(z l- 0x11) if ( (28 0xCE,-:0) Test1function0 switch(z) case 2 PORTP break case 4 1 PORTP PORTP 0xC3 break case 17 PORTP- PORTP & 0xA6 break default Solution: Port P 195 PORTP z; Test1function(void) Z-z+1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
