How do i copy elements of unsized array into another array? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do i copy elements of unsized array into another array?

Here I am converting decimal number to binary and after conversion I wanted to find the binary gap.. for example if the input is decimal no is 129 then the binary equivalent is 10000001 and for this binary equivalent the binary gap is 6. I should find the binary gap. https://code.sololearn.com/c07OcvhoN894/?ref=app

24th Mar 2019, 11:12 PM
Navya Sandrana
2 Answers
+ 1
Thank you so much for your input .
25th Mar 2019, 12:54 AM
Navya Sandrana
0
But I am not sure of array size.. bcz for every input the size varies..
25th Mar 2019, 12:42 AM
Navya Sandrana