Computer Science, asked by khansamar2005, 9 months ago

____________ EXPRESSIONS HAVE ALL OPERANDS OF SAME DATATYPE.​

Answers

Answered by priteesingh34447
2

Explanation:

There are four types of expressions exist in C:

Arithmetic expressions.

Relational expressions.

Logical expressions.

Conditional expressions.

Answered by syed2020ashaels
0

The given question is we have to find the expressions which have all operands of the same data type.

An expression is defined as a combination of operators, constants and variables.

It may consist of one or more operands, and zero or more operators to produce a value.

Four types of expressions exist in the C language. They are

Arithmetic expressions

Relational expressions

Logical expressions

Conditional expressions

The arithmetic expression has all operands of the same data type.

The data type used in this expression is an integer, where all the values used here are numerals.

Relational expressions yield results of type bool which takes a value true or false. When arithmetic expressions are used on either side of a relational operator, they will be evaluated first and then the results compared. Relational expressions are also known as Boolean expressions.

The logical expression uses logical operators such as OR, AND, NOR, NAND, EX-OR, and NOT.

If both operands of a binary operator have the same data type, the result has that data type.

Therefore, the integer arithmetic expression has the same data type.

#spj2

we can find similar questions through the link given below

https://brainly.in/question/11322624?referrer=searchResults

Similar questions