This might be a really stupid question that I will kick myself for not knowing the answer but why, from the output of this program is the first number 4 times the second number?
Code:#include <iostream.h> int main() { const int sizea(5), sizeb(5); int a[sizea][sizeb]; for (int i=0;i<=sizea-1;i++) { for (int o=0;o<=sizeb-1;o++) { a[i][o]=1; } } cout<<sizeof(a)<<endl; cout<<(sizea*sizeb)<<endl; return 0; }