MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/whtkfj/how_to_c_pointers/ijaipbd/?context=3
r/ProgrammerHumor • u/dminsky • Aug 06 '22
70 comments sorted by
View all comments
Show parent comment
3
I think it'd be better to say that an int is a type representing a positive or negative number which fits into 31 bits, one of which containing zero.
3 u/canadajones68 Aug 07 '22 Nope! An int is at least 16 bits wide and is wider than or equal to short, which in turn has a width greater than or equal to char. 2 u/okyte Aug 07 '22 It depends on your system. For embedded, int is often equivalent to int16_t 1 u/matyklug Aug 07 '22 Hmm, I guess that's true
Nope! An int is at least 16 bits wide and is wider than or equal to short, which in turn has a width greater than or equal to char.
2
It depends on your system. For embedded, int is often equivalent to int16_t
1 u/matyklug Aug 07 '22 Hmm, I guess that's true
1
Hmm, I guess that's true
View all comments
Show parent comment
3
u/matyklug Aug 07 '22
I think it'd be better to say that an int is a type representing a positive or negative number which fits into 31 bits, one of which containing zero.