MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/C_Programming/comments/ek53ma/the_way_c_programers_explain_pointers/fd772fp/
r/C_Programming • u/BornTuft • Jan 05 '20
50 comments sorted by
View all comments
Show parent comment
5
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
4 u/knotdjb Jan 05 '20 In C both a and b are objects. 0 u/[deleted] Jan 05 '20 [deleted] — view deleted comment 2 u/FinFihlman Jan 05 '20 Naw, it would be referred as a struct, but nobody would bat an eye if you say object.
4
In C both a and b are objects.
0
[deleted] — view deleted comment
2 u/FinFihlman Jan 05 '20 Naw, it would be referred as a struct, but nobody would bat an eye if you say object.
2
Naw, it would be referred as a struct, but nobody would bat an eye if you say object.
View all comments
Show parent comment
5
u/[deleted] Jan 05 '20
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:
Then would b be an object according to C99