fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int arr[10];
  7. cout<<sizeof(arr)<<endl;
  8. double c = 100.2738;
  9. char d[12] = {c};
  10. cout<<d[0];
  11. return 0;
  12. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
40
d