Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

print 2d array c++

for( auto &row : arr) {
    for(auto col : row)
         cout << col << " ";
	cout<<endl; 
}
 
PREVIOUS NEXT
Tagged: #print #array
ADD COMMENT
Topic
Name
7+9 =