"Wherever a value is needed, any expression of the same type will do."
What does this mean??
I am finding it out ...
"Wherever a value is needed, any expression of the same type will do."
Types of expressions
Content that is stored in memory to be used for operations.
Data Types
Basic Data Types
The point of the matter
Okay I read further on this matter and I might got the point:
In C, it is not allowed to use more than one data type within one expression. This rule ensures that operations are performed correctly and consistently. Data types have a specific type and behavior and mixing them can cause errors and undefined behavior.
However, I still find the sentence strange and not fully applicable to this acknowledgement, and so maybe I still did not get it right. But I will continue with the text for now and keep this matter in mind, until I am sure that I understood what it meant.
What does this mean??
I am finding it out ...
"Wherever a value is needed, any expression of the same type will do."
Types of expressions
- arithmetic
- relational
- logical
- conditional
Content that is stored in memory to be used for operations.
Data Types
Basic Data Types
- int
- float
- double
- char
- bool
- void
- array
- pointer
- function
- union
- structure
- enum
The point of the matter
Okay I read further on this matter and I might got the point:
In C, it is not allowed to use more than one data type within one expression. This rule ensures that operations are performed correctly and consistently. Data types have a specific type and behavior and mixing them can cause errors and undefined behavior.
However, I still find the sentence strange and not fully applicable to this acknowledgement, and so maybe I still did not get it right. But I will continue with the text for now and keep this matter in mind, until I am sure that I understood what it meant.