Like the case of 239
n=3;
hence a[n-1]=a[2]=9
hence a[0]=2
but in case of a[0] we are returning 0
hence how will this programme work ?
Like the case of 239
n=3;
hence a[n-1]=a[2]=9
hence a[0]=2
but in case of a[0] we are returning 0
hence how will this programme work ?