fork download
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. struct data
  4. {
  5. int a , b;
  6. };
  7. data ar [ 10 ];
  8. int main()
  9. {
  10. cin>>ar [ 1 ].a;
  11. cout<<ar [ 1 ].a<<endl;
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 15232KB
stdin
20
stdout
20