What does | mean in mask|(1<<city) Where mask and city,are integer?
1/23/2022 5:48:54 AM
narges ghanbari1 Answer
New AnswerThe 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
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message