0
C++
What does | mean in mask|(1<<city) Where mask and city,are integer?
1 Answer
+ 5
The pipe symbol `|` is known as bitwise OR operator whereas `<<` is bitwise left shift operator.
Take a look at these community lessons.
https://www.sololearn.com/learn/4073/?ref=app
https://www.sololearn.com/learn/4087/?ref=app