三目运算符填坑

 

编译不能通过, 报错expression must have arithmetic type(表达式必须具有算术类型)

貌似表达式A或者B必须是同种类型,都是复制语句或者都是函数才能编译通过。。。

相关文章:

  • 2021-11-15
  • 2021-12-13
猜你喜欢
  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2021-12-17
相关资源
相似解决方案