malloc in C: same sizeof before and after?

Because sizeof is evaluated at compile time and yields the size of the type of set, a pointer to int.

Leave a Comment