posted 16 years ago
Hi Lata,
for the first value in the array:
arr[1]<-- 0
so arr becomes,
{1,0,3,4}
for the next value in the array: [Remb: The array is changed now]
arr[0]<-- 0;
and arr is now,
{0,0,3,4}
for the next value in the array:
arr[3]<--0
gives
{0,0,3,0}
and for the last value in the array:
arr[0]<--0
so, arr remains {0,0,3,0}
Regards,
Vishwa