I know it might look a simple and stupid question to you all but please help me out of this.
I wonder how the output of the code below can be known in advance
The output is coming out to beCode:
I know that ch ranges from -128 to 127 and it's printing -74 correctly but the %c is making me confuse. I found the 2's complement of -74 and matched it with ASCII value but that also didn't match. Isn't my PC storing -74 in its 2's complement form?Quote: