Question: Explain why the results are shown with running this code Code 1: sbyte a - 126; // sbyte is 8 bit 1/ singned value Console.WriteLine(a);
Code 1: sbyte a - 126; // sbyte is 8 bit 1/ singned value Console.WriteLine(a); a++; // a a + 1; Console.WriteLine(a); a++; // a - a + 1; Console.WriteLine(a); a++; // a - a + 1; Console.WriteLine(a); Console display: CAWINDOWS\system32 cmd.exe 126 127 - 128 -127 Press any key to continue 1 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
