Author: Not specified Language: cpp
Description: Not specified Timestamp: 2018-05-24 20:56:49 +0000
View raw paste Reply
  1. #include <stdio.h>
  2.  
  3. int x = 0;
  4.  
  5. int &foo() { return x; }
  6.  
  7. int main()
  8. {
  9.         foo() = 1;
  10.         printf("%d\n", x);
  11.         return 0;
  12. }
View raw paste Reply