Last active
September 20, 2020 19:57
-
-
Save ehzawad/c625e60081c490a3d2ba3586f9f5e0ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int ia [3][4] = {{0,1,2,3},{4,5,6,7}, | |
{8,9,10,11}}; | |
for ( auto p = begin(ia) ; p != end(ia) ; ++p ) | |
{ | |
for (auto q = *p ; q != end(*p) ; ++q) | |
{ | |
std::cout << *q << std::endl; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment