On Wed, Oct 13, 2010 at 2:06 AM, newcomer <mnnit.mnni...@gmail.com> 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 algoge...@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com> > . > 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 algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.