+ 3
How this is true?
I got a question in a challenge in c++, it's confusing . question is, what is the output of this code: Cout<<(1<<1) Answer was 2
2 Antworten
+ 5
+ 2
x<<y = x*(2^y)
1<<1 = 1*(2^1) = 2
I got a question in a challenge in c++, it's confusing . question is, what is the output of this code: Cout<<(1<<1) Answer was 2