harish reddy

harish reddy

  • NA
  • 162
  • 33.1k

console output for code

Jun 1 2017 6:49 AM
int x = 6;
Console.WriteLine(x |= 1);
 
Why is the console output 7 for this code? 

Answers (3)