What type of data type is this ? Question mark | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What type of data type is this ? Question mark

12th Feb 2018, 6:55 AM
THE MASK [SAN]
THE MASK [SAN] - avatar
3 Answers
+ 4
character simply, also used as ternary operator ( ? :) also used as wildcard for single instance of any character in shell scripts many other languages have different uses of it too, like in PHP
12th Feb 2018, 8:32 AM
Morpheus
Morpheus - avatar
+ 2
? is also usable as a metacharacter for 0 or 1 instance of a group or character class in regex.
12th Feb 2018, 2:40 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 1
'?' is a string.
12th Feb 2018, 8:26 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar