int x = 6;
Console.WriteLine(x |= 1);
Why is the console output 7 for this code?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nitin SontakkePosted Jun 1, 2017, 10:46 AM
harish reddyPosted Jun 1, 2017, 8:55 AM
Nitin SontakkePosted Jun 1, 2017, 8:16 AM