为了账号安全,请及时绑定邮箱和手机立即绑定

three=one+two那些不用加int吗?

为什么不是int three=one+two ?


正在回答

4 回答

int one = 1;

int two = 2;

int three;

three = one + two;


或者 


int one = 1;

int two = 2;

int three = one + two;

0 回复 有任何疑惑可以回复我~
#1

licxingcat 提问者

明白了。谢谢
2015-01-30 回复 有任何疑惑可以回复我~

http://img1.sycdn.imooc.com//56a2e83c000165dc12370387.jpg这个是怎么输出的,求大神指导,理解不了,跪求

0 回复 有任何疑惑可以回复我~

原来如此

0 回复 有任何疑惑可以回复我~

one,two,three已经定义过了,不能重复定义

1 回复 有任何疑惑可以回复我~
#1

licxingcat 提问者

谢谢.
2015-01-30 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

three=one+two那些不用加int吗?

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号