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);
- }
- }
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);
- }
- }