@tarak mehta: if u wanna understand, try passing a char array to a function n do de same...
On Sun, Jul 25, 2010 at 9:59 AM, Manjunath Manohar <[email protected] > wrote: > > @Apporve... yeah u r right :)sizeof ptr is always 2 in 16 bit compilers, > i.e, the sizeof an address is 2.and the sizeof(int)=2..i.e > sizeof(*arr)=2..hope u got it now.. > > -- > 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.
