Computer Science, asked by jiyasingh29, 1 year ago

can anyone please explain me what is Ternary operator????
plz anyone...!!!!​

Answers

Answered by brainbuster3
3

The ternary operator is an operator that takes three arguments. The first argument is a comparison argument, the second is the result upon a true comparison, and the third is the result upon a false comparison. If it helps you can think of the operator as shortened way of writing an if-else statement.


jiyasingh29: can u plz give some eq. with the solution....
jiyasingh29: !!!!
Answered by BHERE
2

In mathematics, a ternary operation is an n-ary operation with n = 3. A ternary operation on a set A takes any given three elements of A and combines them to form a single element of A. An example of a ternary operation is the product in a heap


jiyasingh29: a need computer wala ternary operator....
BHERE: mark as brainliest plz...........
Similar questions