c++ - Comparison Vs Relational expressions in c++
问题描述
I was recently asked a question it was
"The expression x<y
is called a(n)?"
- Comparison expression.
- Logical expression.
- Arithmetic expression.
- Relational expression.
- None of the above.
I thought it was a comparison expression due to <
however it was a relational expression. I've tried looking up difference and such for comparison and relational but I honestly think they are the same thing.
Can someone explain to me the differences between the expressions?
解决方案
问题是关于关系表达式,请参阅http://eel.is/c++draft/expr#rel
推荐阅读
- python - 如何从 Python 中的文本文件中删除第一个空格?
- wpf - 如何在 XAML 中使用实例化为资源的对象
- python - python中的speedtest模块
- javafx - JavaFX多次打开和关闭Stage的正确方法
- javascript - Node.js 正则表达式删除 url 中的撇号
- java - Java 在 for 循环后跳过了我的一些代码
- python - 下载并解压 Zip 文件
- sql - 如何在具有共同一列的 Id 之间进行精确匹配?
- node.js - 客户端建立连接时 Socket.io 服务器没有响应
- python - 没有名为“bindsnet.network”的模块