SHARE
TWEET

Untitled

a guest Feb 19th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (api)jayson@Jaysons-iMac ~ Python 2.7.3 Django 1.3.4
  2. $ cat a.c
  3. #include <stdio.h>
  4.  
  5. int main() {
  6.     int i = 5;
  7.     i = ++i + ++i;
  8.     printf("%d\n", i);
  9. }
  10. (api)jayson@Jaysons-iMac ~ Python 2.7.3 Django 1.3.4
  11. $ gcc a.c
  12. (api)jayson@Jaysons-iMac ~ Python 2.7.3 Django 1.3.4
  13. $ ./a.out
  14. 14
  15. (api)jayson@Jaysons-iMac ~ Python 2.7.3 Django 1.3.4
  16. $ clang a.c
  17. (api)jayson@Jaysons-iMac ~ Python 2.7.3 Django 1.3.4
  18. $ ./a.out
  19. 13
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top