解决方案 »

  1.   

    前者先累加,后者后累加。
    比如,
    count=1;
    a= ++count;
    则a=2, count=2;
    a= count++
    则a=1 ,count=2;
      

  2.   

    ++count; count++; 
    count=2
    b=++count,先+1,在提取结果   结果b==count==3
    count++; 
    b=count++;,先返回结果,在+1,结果b=2,count=3
      

  3.   

    ++count 是自加后赋值
    count++ 是赋值后自加最终效果一样
      

  4.   

    ++count 和count++
    前者是在赋值前就++
     后者是赋值后++本身
      

  5.   

    a= ++count;  ==>  count自加1,把结果赋予给aa= count++;  ==>  count值赋予给a,count自加1,所以这里a和count的值不一样
      

  6.   

    ++count 是获取值后再加
    count++ 是先加
      

  7.   

    楼上几位都说了,我没什么可说的了。写个前些日子看到的题,楼主要是能答对,就理解了。
    i = 0;
    i = i++;
    i = ?i最后是0。j = 0;
    j = ++j;
    j = ?j最后是1