i - j is giving -3 as output. why is this so ? On Tue, Oct 16, 2012 at 11:18 PM, iwill <many...@gmail.com> wrote:
> how to explain the output if instead of j-i we try to print i-j ? > > > On Saturday, October 13, 2012 3:36:49 PM UTC+5:30, bharat wrote: >> >> #include<stdio.h> >> main() >> { >> int *i,*j; >> i=(int*)60; >> j=(int*)71; >> printf("%d",j-i); >> } >> > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/algogeeks/-/uy8MR6SCemYJ. > > To post to this group, send email to algogeeks@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. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@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.