EmbLogic's Blog

Please Explain!

struct ABC
{
int a;
float b;
char c;
};
int main(){
struct ABC *ptr=(struct ABC *)0;
ptr++;
printf(“Size of structure is: %d”,*ptr);
return 0;
}

Can u please explain this?

One Response to Please Explain!

  1. msiddarth says:

    Can you elaborate the question?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>