int table [3][5], x=1;
for (int i=0; i<3; i++)
for (int j=0; j<5; j++)
table[i][j] = x++;
for (int k=0; k<15; k++) // print out 1 to 14
cout << *((int*)table + k); // how?
// how to print out this here?
char *name[] = {"Eric", "sarah", "sam"};
Anyone help me fix it out and explain it
Thank You