+ 3
Write a function in C++ which accepts and integer array and its size as argument/parameters and assign the elements.
If array is 1 2 3 4 5 6 then output will be 123456 123450 123400 123000 120000 100000
5 Answers
+ 3
Actually we have to store the values in a 2D array and the parameter is going to be a 1D array and it's size
+ 2
I'm confused, are you just replacing from the back of the array to the front every integer with 0 sequentially? Please, explain this better.
+ 2
Thank you guys for helping me out. I was finally able to write the code properly. Here it is.
https://code.sololearn.com/ctFdO7IIY1Ih/?ref=app
0
Answer