fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4.  
  5. void foo (int * count)
  6.  
  7. {
  8. *count=90;
  9.  
  10. }
  11.  
  12. int main()
  13.  
  14.  
  15. { int *t;
  16.  
  17. foo(t);
  18.  
  19. cout<<t[0]<<endl;
  20.  
  21. return 0;
  22.  
  23. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
90