In C language , the NULL is defined as int under stdio.h, has value 0, so you can do subtraction of NULL pointers,
On Wed, Nov 16, 2011 at 6:57 AM, Dan <dant...@aol.com> wrote: > Just FYI, > > You need to (and "should" always) be specific. Many languages have > pointers. Many do not. Of those that do... pointers don't work the > same way in each of them. Even the concept of what a pointer is can > vary a bit. So... always state which specific programming language > you are talking about in your questions & comments. > > Dan :-) > > > On Nov 14, 1:52 pm, UTKARSH SRIVASTAV <usrivastav...@gmail.com> wrote: > > is subtraction of two NULL pointers defined ? > > > > -- > > *UTKARSH SRIVASTAV > > CSE-3 > > B-Tech 3rd Year > > @MNNIT ALLAHABAD* > > -- > 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. > > -- Regards, Ashish -- 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.