Can any one help me in implementing the same sizeof() fuction in C.It should take the input like of
Sizeof(2)---should return 2 bytes(Integer)
sizeof(2.5)--should return 8 bytes(Double)
sizeof(2.5f)--should return 4 bytes(float)
and also it should take variable names declared in the program.
if x is an integer or float or a struct variable it should give me the proper results.