i already said this is not possible , in my intial draft , as we dont have any information of memory owner in called function , just have base address which is address of single element of the array .
On Wed, Jan 30, 2013 at 1:55 PM, Prem Krishna Chettri <[email protected]>wrote: > @Piyush .. Never works.. > > @All there is no way to do the given requirement in pure C. > > > On Wed, Jan 30, 2013 at 1:45 PM, Piyush <[email protected]> wrote: > >> sizeof(array)/sizeof(array[0]) >> >> >> On 28-Jan-13 3:44 PM, Anil Sharma wrote: >> >> How to calculate the size/lenght of an int array which is passed as an >> ONLY argument to a function???.... -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
