Computer Science, asked by lalithabhagyasri, 1 year ago

syntax of ternary operator

Answers

Answered by dawardivya25
4

ternary operator that is part of the syntax for basic conditional expressions in several programming languages. It is commonly referred to as the conditional operator, inline if , or ternary if. An expression a ? b : c evaluates to b if the value of a is true, and otherwise to c .


lalithabhagyasri: i want to mark as brainlist
lalithabhagyasri: please send that to
MrPoizon: you have just copy it from google
MrPoizon: cheater
lalithabhagyasri: follow me divya i already started following u
dawardivya25: ok
Answered by MrPoizon
4

n computer programming, ?: is a ternary operator that is part of the syntax for basic conditional expressions in several programming languages. It is commonly referred to as the conditional operator, inline if (iif), or ternary if. An expression a ? b : c evaluates to b if the value of a is true, and otherwise to c .

mark this answer as brainliest


lalithabhagyasri: hii
MrPoizon: hello
MrPoizon: plz mark my answer as brainliest
lalithabhagyasri: sorry mate really sorry
MrPoizon: ok
MrPoizon: mate
MrPoizon: then follow me
lalithabhagyasri: yeah sure
lalithabhagyasri: yeah sure
MrPoizon: ok thnx mate
Similar questions