Implement Your Own sizeof

3.1

Here is an implementation. filter_none edit close play_arrow link brightness_4 code #define my_sizeof(type) (char *)(&type+1)-(char*)(&type) int main() {     double x;     printf(“%d”, my_sizeof(x));     getchar();     return 0;… Read More »