Or in c++
/*
In c++ or c, "or" can be ||
example*/
if(a=1 || a=2){
b++
}
Or in c++
/*
In c++ or c, "or" can be ||
example*/
if(a=1 || a=2){
b++
}
or in c++
The logical OR operator ( || ) returns the boolean value true if either or both operands is true and returns false otherwise. The operands are implicitly converted to type bool before evaluation, and the result is of type bool . Logical OR has left-to-right associativity.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us