66.6k views
5 votes
Write an expression whose value is the number of bytes that an int variable occupies on whatever machine the expression is executed on.

1 Answer

2 votes
here is the expression: sizeof(int); Also here is the example how you can youse sizeof(int):
int int_size(sizeof(int)); It's often used to display the sizes of a number of variables:
User Agus Camacho
by
7.9k points