isn't that simply because if little indian endian way of storing bytes in memory
initial -- 00000000 00000001 0...... finally-- 00000000 00000010 0...... On Sep 22, 2011 5:38 PM, "Rohit Upadhyaya" <[email protected]> wrote: > > int main() > { > int a=256; > char *p=&a; > *++p=2; > printf("%d",a); > return(0); > } > > -- > 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. -- 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.
