26-04-2019, 08:05 AM
I accidentally posted the same replies...
Thank you for the comments.
So, according to the definition of "object", would they be regarded as an "object", or NOT an "object"?
Variable -> "object", because it's stored in RAM.
Const-qualified variable -> ?, depends on whether it's stored in ROM or RAM.
Function -> not "object", because it can't represent values.
Object-like macro -> not "object", because it's not stored in RAM.
Function-like macro -> not "object", because it's not stored in RAM.
Thank you for the comments.
So, according to the definition of "object", would they be regarded as an "object", or NOT an "object"?
Variable -> "object", because it's stored in RAM.
Const-qualified variable -> ?, depends on whether it's stored in ROM or RAM.
Function -> not "object", because it can't represent values.
Object-like macro -> not "object", because it's not stored in RAM.
Function-like macro -> not "object", because it's not stored in RAM.
<t></t>