Int a=4 b=14;
Int c=a + b & lt; <4.
Console. WriteLine (" c="+ c);
Console. WriteLine (0 XFF & amp; 228);
Console. WriteLine (0 XFF & amp; C);
C=228;
Console. WriteLine (0 XFF & amp; C);
The Console. ReadLine ();
Use an operation to get an integer c, its value is 228, if with the run with 0 XFF to 32
But if the 228 directly to the assigned to c, and 0 XFF and run again, you'll get 228
You want to ask what's the difference between them
CodePudding user response:
C is 288, not 228288 & amp; 0 XFF is 32CodePudding user response:
0 XFF here convert into (~ 0), taking in the results, will be clear at a glance,