fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int arr[200];
  8. int *arr1=new int[200];
  9. cout<<sizeof(arr)<<" "<<sizeof(arr1);
  10. return 0;
  11. }
Success #stdin #stdout 0s 3428KB
stdin
Standard input is empty
stdout
800 4