fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int a[5];
  7. cout<<sizeof(a)/sizeof(a[0])<<endl;
  8. for(int i=0;i<sizeof(a)/sizeof(a[0]);i++){
  9. cout<<a[i]<<' ';
  10. }
  11. return 0;
  12. }
Success #stdin #stdout 0s 5632KB
stdin
Standard input is empty
stdout
5
475215336 32767 -1218088267 22019 1422420768