CPP
cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//created by Vlad Apet, 8/26/2022, Have a good day!
#include <iostream>
using namespace std;
int main() {
char **b = new char*[100];
for(int i = 0; i < 100; i++){
b[i] = new char[100];
}
/* // use example, uncomment to check
b[23][16] = 'a'; // we can access our array like usual
cout << b[23][16] << endl;
*/
for(int i = 0; i < 100; i++){
delete[] b[i];
}
delete[] b;
return 0;
}
/* Social media
---------------
Twitter - @vlad_apet
Instagram - @mei_m105
Github - https://github.com/mei105
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run