#include <iostream>
using namespace std;
int** DATA = new int*[10]; // This has now got 10x0
int main() {
for(unsigned i=0; (i < 10); i++)
{
DATA[i] = new int[5];
for(unsigned j=0; (j < 5); j++)
{
DATA[i][j] = i*j;
std::cout << DATA[i][j] << ' ';
}
std::cout << std::endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQqKiBEQVRBID0gbmV3IGludCpbMTBdOyAvLyBUaGlzIGhhcyBub3cgZ290IDEweDAKaW50IG1haW4oKSB7CgkKCWZvcih1bnNpZ25lZCBpPTA7IChpIDwgMTApOyBpKyspCgl7CgkJREFUQVtpXSA9IG5ldyBpbnRbNV07CgkJCgkJZm9yKHVuc2lnbmVkIGo9MDsgKGogPCA1KTsgaisrKQoJCXsKCQkJREFUQVtpXVtqXSA9IGkqajsgCgkJCQoJCQlzdGQ6OmNvdXQgPDwgREFUQVtpXVtqXSA8PCAnICc7CgkJfQoJCXN0ZDo6Y291dCA8PCBzdGQ6OmVuZGw7Cgl9CgkKCQoJCglyZXR1cm4gMDsKfQ==