fork download
  1. #include <iostream>
  2.  
  3. int main() {
  4. int i = 0;
  5. std::cin >> i;
  6. int a[i];
  7. std::cout << sizeof(a) << std::endl;
  8. return 0;
  9. }
Success #stdin #stdout 0s 3460KB
stdin
12
stdout
48