Andrew_Manu

Doble puntero a array

Jun 22nd, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main(int argc, char** argv) {
  5.     int **i = new int *[10];
  6.     for(int n=0;n<10;n++){ i[n] = new int[4]; }
  7.     system("pause>silvio");
  8.     delete[] i;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment