Sunday, August 22, 2010

How will you write your own sizeof operator

#define MySizeof(x) (char*)((x*)NULL+1)-(char*)((x*)NULL)

No comments:

Post a Comment