On Wed, Oct 13, 2010 at 2:06 AM, newcomer <[email protected]> wrote:
>
> #include<stdio.h>
> int main()
> {
> int a=3,b=8;
> void *p=(void *)a;
> void *z=(void *)&p[b];
> printf("%u\n",(int)z);
> return(0);
> }
> how the output is coming 11? I am not geting.
> explain void *p=(void)*a; wht does it imply?
> correct
>
explain void *p=(void *)a; wht does it imply?
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<algogeeks%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.