Answers for "and and or operator in c ++"

C++
0

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.
Posted by: Guest on January-07-2022
0

how to use and in c++

The ampersand symbol & is used in C++ as a
reference declarator in addition to being the address operator.
  The meanings are related but not identical. If you take the address 
  of a reference, it returns the address of its target. Using the previous 
  declarations, &rTarg is the same memory address as &target .
Posted by: Guest on December-06-2021

Browse Popular Code Answers by Language