fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int a;
  7. cin>>a;
  8.  
  9. int T[a];
  10. cout<<"sizeof: "<<sizeof(T);
  11. return 0;
  12. }
Success #stdin #stdout 0s 3344KB
stdin
5
stdout
sizeof: 20