Hello, I was doing chewbacca and number problem. I am trying to store that number in a array. Now there is some problem in my code. Could you please help me in finding the problem. Here is my code :
Doubt in my code
Ok I got confused in 10^18 and 18 digits and therefore I give 10^18 size array
. Thank you for solving the issue. 
there was one more issue,
after while loop value of x will become 0
so u need to store x in some variable and then use that variable.
check my shared code again(i updated the link)
Yeah… I have already checked that 