0

Can we print the whole table in output by just one command or we have to write...cout[ ][ ] for every value

array

5th Oct 2018, 7:08 PM
AKSHITA TYAGI
AKSHITA TYAGI - avatar
2 Respuestas
+ 8
You can use loops
5th Oct 2018, 7:51 PM
blACk sh4d0w
blACk sh4d0w - avatar
0
if for example your array has the name 'arr' and consists of int, you can write: for (int x: arr) cout << x;
5th Oct 2018, 9:48 PM
HonFu
HonFu - avatar