标题:[求助]++,--问题。菜鸟求助~
取消只看楼主
tank266
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2007-10-2
 问题点数:0 回复次数:1 
[求助]++,--问题。菜鸟求助~

#include<stdio.h>
void main()
{

int i=8;

printf("%d\n",++i);

printf("%d\n",--i);

printf("%d\n",i++);

printf("%d\n",i--);

printf("%d\n",-i++);

printf("%d\n",-i--);

}

输入9 8 8 9 -8 -9。请帮忙一个一个说明下谢谢,
我的理解是9 7 8 8 -7 -9

搜索更多相关主题的帖子: include 
2007-11-21 01:51
tank266
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2007-10-2
得分:0 

没人。。。

2007-11-21 10:51



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-187477-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.788878 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved