fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. struct xyz {
  6. int i;
  7. };
  8. struct xyz *p;
  9. struct xyz a;
  10. p=&a;
  11. p->i=10;
  12. printf("%d",(*p).i);
  13. return 0;
  14. }
Success #stdin #stdout 0s 16048KB
stdin
Standard input is empty
stdout
10