Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

2d array c++

int a[2][3]= {
        {1, 2, 3},
        {4, 5, 6}
    };
    
    cout << a[1][1]; // Output is 5
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #array
ADD COMMENT
Topic
Name
3+3 =