fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void aaa(int *a){
  5. *a = *a + 1;
  6. }
  7.  
  8. int main() {
  9. // your code goes here
  10. int b = 10;
  11. aaa(&b);
  12. cout<< b << endl;
  13. return 0;
  14. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
11