sorcerer_see: (Default)
"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
  • arithmetic
  • relational
  • logical
  • conditional
Value

Content that is stored in memory to be used for operations.

Data Types

Basic Data Types
  • int
  • float
  • double
  • char
  • bool
  • void
Derived Types
  • array
  • pointer
  • function
User Defined Data Types
  • 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.

Profile

sorcerer_see: (Default)
sorcerer_see

October 2025

S M T W T F S
    12 34
56 7 8 9 10 11
12 1314 15 16 1718
19 2021 22 23 2425
2627 28293031 

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 16th, 2026 02:02 am
Powered by Dreamwidth Studios