An interview question

Posted by maddy on Stack Overflow See other posts from Stack Overflow or by maddy
Published on 2010-05-12T09:25:24Z Indexed on 2010/05/12 9:54 UTC
Read the original article Hit count: 289

Filed under:
|

Hi, The questions shown below is an interview question

Q)You are given have a datatype, say X in C.

The requirement is to get the size of the datatype, without declaring a variable or a pointer variable of that type,

And, of course without using sizeof operator !

I am not sure if this question was asked before in SO.

Thanks and regards Maddy

© Stack Overflow or respective owner

Related posts about c

    Related posts about interview-questions