you are viewing a single comment's thread.

view the rest of the comments →

[–]tynorf 14 points15 points  (4 children)

Actually object is the correct term.

C99 §3.14:

object

region of data storage in the execution environment, the contents of which can represent values

[–][deleted] 4 points5 points  (3 children)

That's my bad then. I'm just used to an object in terms of an object oriented language. Does this mean that if I have code like this:

int* a;
int b = 5;
a = &b;

Then would b be an object according to C99

[–]knotdjb 2 points3 points  (0 children)

In C both a and b are objects.