C语言:
- #include <stdio.h>
- main()
- {
- int x=5;
- x = x++;
- printf("x=%d\n",x);
- }
Java语言:
- package com.zhangry.calc;
- public class Calc {
- public static void main(String[] args) {
- int x=5;
- x = x++;
- System.out.println(x);
- }
- }
原文链接:http://blog.csdn.net/hongqishi/article/details/7308472
【编辑推荐】