#include <iostream>
using namespace std;
int main()
{
int a[2][13] ={
{90, 23, 26, 31, 50, 71, 39, 31, 61, 80, 11, 20, 41},
{50, 31, 29, 31, 50, 31, 30, 61, 34, 70, 38, 90, 41},
};
cout << *a[2][8] <<endl;
return 0;
}
-----------
my Dev-C++ says ... invalid type argument of `unary *'
if i use cout << a[2][8] <<endl; , it says 207744
why is this ? plz help~~~~ thx.
using namespace std;
int main()
{
int a[2][13] ={
{90, 23, 26, 31, 50, 71, 39, 31, 61, 80, 11, 20, 41},
{50, 31, 29, 31, 50, 31, 30, 61, 34, 70, 38, 90, 41},
};
cout << *a[2][8] <<endl;
return 0;
}
-----------
my Dev-C++ says ... invalid type argument of `unary *'
if i use cout << a[2][8] <<endl; , it says 207744
why is this ? plz help~~~~ thx.