+ 1

I tried to get an array from the user as input in main and print the array using a function. But it does not print it why?

https://code.sololearn.com/cRLApzRblBnF/?ref=app

1st Apr 2018, 6:30 AM
Aangeeras
Aangeeras - avatar
2 Respostas
+ 5
line 16 edit with that cin>>myArr[i]; you write only cin> thats the error
1st Apr 2018, 6:33 AM
Scooby
Scooby - avatar
+ 2
Thanks I would keep an eye for these silly mistakes in future!
1st Apr 2018, 10:17 AM
Aangeeras
Aangeeras - avatar