fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int a=5;
  8. const int b=10;
  9. int* c=&a;
  10. c++;
  11. cout<<(c==&b);
  12. cout<<((int)c==(int)&b);
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
01