Advertisement
Guest User

Nicola Pepe

a guest
Feb 18th, 2020
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4.  
  5. /*
  6.  * Cosa stampa il seguente codice?
  7.  * -1 | 0 | 1
  8. */
  9.  
  10. int main(){
  11.  
  12.     int a[] = {0, 1, 2};
  13.     int *b = a;
  14.    
  15.     b++;
  16.     cout << --*a;
  17.  
  18.     return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement