• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Question Mark in C++

What does the question mark mean in C++

c++
15th Oct 2019, 2:47 PM
OnesAndZeroes10
OnesAndZeroes10 - avatar
2 Answers
+ 3
It is the ternary operator. For more about this, you can read at the following: http://www.cplusplus.com/articles/1AUq5Di1/
15th Oct 2019, 2:55 PM
Ipang
+ 1
(bool)? value: value; https://code.sololearn.com/c2ugHxQEgYjV/?ref=app
15th Oct 2019, 3:07 PM
Odyel
Odyel - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Decorators in python.
2 Votes
How to install Bcrypt here
1 Votes
Codegames
1 Votes
ŰčÙŰ§ÙƒÙ… ŰšŰșيŰȘ Ù†ŰłÙˆÙ„ÙƒÙ… ÙƒÙŠÙŰ§ŰŽ Ù†ŰŻÙŠŰ± ÙƒÙˆŰŻ ويكون Ű”Ű­ÙŠŰ­ŰŸ
1 Votes
What is happening with sololearn
1 Votes
CAN I FOLLOW YOU🙏🙏!!!
2 Votes
Can sololearn have multiple inpus&outputs?
3 Votes
CAN ANYONE TELL ME WHAT TO LEARN NEXT AFTER ADVANCED PYTHON CONCEPTS
1 Votes
Programming language learning
0 Votes
How to start coding
0 Votes