C
cogno_byte
Hi all !!
I need to know that in C how to implement sizeof() without using the
keyword?
The implementation should be generic.
e.g
malloc(sizeof(struct));
Here the sizeof() returns the number of bytes reserved and is a
reserved keyword which calls a function through the library function.
But i want to implement the working of sizeof() without using the
keyword.
Hope all of ya got my Question.
Hoping to read from all of you soon
Thnx in advance.
I need to know that in C how to implement sizeof() without using the
keyword?
The implementation should be generic.
e.g
malloc(sizeof(struct));
Here the sizeof() returns the number of bytes reserved and is a
reserved keyword which calls a function through the library function.
But i want to implement the working of sizeof() without using the
keyword.
Hope all of ya got my Question.
Hoping to read from all of you soon
Thnx in advance.