fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a[10] = {2, 3, 5, 7, 11, 13};
  6. int* s = a;
  7. cout << *s++ << ' ';
  8. cout << *++s;
  9. return 0;
  10. }
Success #stdin #stdout 0s 5448KB
stdin
Standard input is empty
stdout
2 5