I am studying for a final tomorrow in C, and have a question regarding the sizeof operator.
Let\'s say the size of an int is 32 bits and a
int
32
The size of zip is known at compile time and the size of zap is not. That is why you are getting the size of a pointer on sizeof(zap) and the size of the array on sizeof(zip).
zip
zap
sizeof(zap)
sizeof(zip)