How do nested ternary operators work in C++ if you're not using else if statements?

后端 未结 0 1784
不知归路
不知归路 2021-01-31 14:27

I’m trying to fit two lines of code into one line for code golf, but it requires using nested ternary operators, and I’m getting an “initializer list cannot be used on the right

相关标签:
回答
  • 消灭零回复
提交回复
热议问题