I was just reading some articles on Wikipedia involving some code in C++, but I was unfamiliar with one of the operators used, ?
. Here's the context in which it was used:
unsigned int factorial(unsigned int n) {
return n == 0 ? 1 : n * factorial(n - 1);
}