It is used when business logic determines that it is acceptable for one of two conditions to be true. For example, if you would like to check if the total discount of a product is more than 10% or more than $100 dollars, you would use the OR operator. It can be used whenever you need to check if one set of conditions out of multiple conditions is true.
NOT
calloc operator,malloc operator
True
:: operator can not be used in C.
!= is the correct operator.
The dot operator is used to access properties and methods of an object. Types do not have properties or methods, so the dot operator cannot be used on them.
Same operator can be used for different purposes like + can be used for addition of two integers and used for concatenate strings.
When the new operator is used, a new object is created, based on the specified class.When the new operator is used, a new object is created, based on the specified class.When the new operator is used, a new object is created, based on the specified class.When the new operator is used, a new object is created, based on the specified class.
Bitwise OR [|] operator
ampersand(&) operator
The & is the concatenation operator. It could be used like this: =A1 & A2
The logical OR operator in C and Java is the double vertical bar ().Example: if (s 0) do somethingThe operator applies a logical OR operator when it evaluates the expression.