+ 1

What does a single pipe mean in c++ (|)

What is the difference between bitwise or and logical or (|) vs (||)

9th Feb 2021, 1:40 AM
Sulaiman Yusuf
Sulaiman Yusuf - avatar
1 Answer
+ 4
Bitwise | compares bits by bits. || compares two booleans. https://www.sololearn.com/learn/4073/?ref=app
9th Feb 2021, 2:19 AM
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż - avatar