Dyskusje Q&A
What is c>a?1:0
0 głosów
1 OdpowiedźHow to read php
0 głosów
7 odpowiedziDoes OR work with ternary?
2 głosów
6 odpowiedziHow does this code work?
0 głosów
1 OdpowiedźDraw this triangle [CHALLANGE]
19 głosów
23 odpowiedzi? : 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 głosów
6 odpowiedziPopularne dzisiaj
C pointers
1 Votes
Python
0 Votes
Guys help please
0 Votes
Slicing in python
1 Votes
Python question
1 Votes
Control flow
0 Votes
HTML
0 Votes
Front-end vs Full-stack
1 Votes