fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. double mas [10] = {1.29, 3.23, 7.98, 5.54, 8.32, 2.48, 7.1};
  6. double * p1;
  7. p1 = & mas [0];
  8. for(int i=0;i<10;i++)
  9. cout<<mas[i];
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
1.293.237.985.548.322.487.1000