New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
What is c>a?1:0
0 Votes
1 AnswerHow to read php
0 Votes
7 AnswersDoes OR work with ternary?
2 Votes
6 AnswersHow does this code work?
0 Votes
1 AnswerDraw this triangle [CHALLANGE]
19 Votes
23 Answers? : 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 Votes
6 AnswersHot today
Strange narrowing conversion error from FLTK Color to Color Struct, Stroustrup's header Graph.h
0 Votes
Can anyone help me with this?
0 Votes
Python Question
3 Votes
How to learn fast C?
0 Votes
While loop with input dont work
1 Votes
Initials of name
1 Votes
Coder or Programmers
2 Votes
Forever loop pls help
0 Votes