Home » Blog » How to write your own sizeof operator?How to write your own sizeof operator? tejsumeru.12@gmail.comInterview Quetions#define my_sizeof(type) (char *)(&type+1)-(char*)(&type) Tags:c programmingc++ Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Name * Email * Website Comment * Save my name, email, and website in this browser for the next time I comment.