+ 3

Why 'char' memory takes equal memory as'int'?

?

1st Jan 2017, 9:18 AM
mahesh naandade
mahesh naandade - avatar
1 Answer
+ 5
char occupies only 1byte space but int occupies 2or4 bytes based on requirement. both occupies different sizes.
1st Jan 2017, 9:32 AM
harish tati