Обсуждения
What is c>a?1:0
0 голосов
1 ответHow to read php
0 голосов
7 ответовDoes OR work with ternary?
2 голосов
6 ответовHow does this code work?
0 голосов
1 ответDraw this triangle [CHALLANGE]
19 голосов
23 ответов? : are called Ternary Operators.
ex.
var = booleanExp ? ValueIfTrue : ValueIfFalse;
and that ? literally means "Asking a Question" Asking if the Boolean Expression is True.
If the Boolean Expression returned true, the Value for "True" will be assigned to the variable.
If the Boolean Expression returned false, the Value for "False" will be the one that'll be assigned to the variable instead.
I'm not asking a question, I just wanna share this to you guys 😁
18 голосов
6 ответовCan we do like that in C++
1 голос
1 ответАктуальное сегодня
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Kernel in Jupyter
2 Votes
SQL
2 Votes
JAVA PROGRAMMING
1 Votes