fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. int (*foo)[5];
  7. cout << sizeof(foo) << endl;
  8. cout << sizeof(*foo) << endl;
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 2680KB
stdin
Standard input is empty
stdout
4
20