Computer Science, asked by sskpranaya, 9 days ago

Which operator can be used instead of an if statement? *
A. Assignment
B. Increment
C. Ternary

Answers

Answered by Anonymous
2

Option C.

= Ternary

Hope this helps you✨️

Answered by sameermeshram342
2

Answer:

C) Ternary operator

Explanation:

The ternary operator take three arguments:

The first is a comparison argument

The second is the result upon a true comparison

The third is the result upon a false comparison

It helps to think of the ternary operator as a shorthand way or writing an if-else statements

Similar questions