Computer Science, asked by rinkumommu6, 2 months ago

Explain the usage of conditional operator with an example(from C++)

Answers

Answered by vaibhavtiwary09
2

Answer:

These operators are used to perform bit operations on given two variables. Conditional operators return one value if condition is true and returns another value is condition is false. These operators are used to either increase or decrease the value of the variable by one. &, *, sizeof( ) and ternary operators.

Answered by rayankatoch
1

These operators are used to perform bit operations on given two variables. Conditional operators return one value if condition is true and returns another value is condition is false. These operators are used to either increase or decrease the value of the variable by one. &, *, sizeof( ) and ternary operators.

Similar questions