-
彼岸回忆
= 是赋值操作==是比较是否相等操作if(i=2)是永远成立的if(i==2)只有当i值是2才成立
-
一城一梦梦在指尖
大家都说的很好,我来举两个栗子说说吧:a=1; //就是把“1”这个值赋值给变量“a”
a==1; //这是看“a”和“1”是否相等,如果相等的话这句话返回“true”(可以理解为“a==1”这句话就等于“true”),如果不相等返回“false”
-
面瘫君II我在卖萌
C语言中,==是等于号,=是赋值号。
-
慕粉1088919
"="代表 赋值操作 而 "==" 比较值是否相等
-
慕沐4487107
"="表示赋值,而"=="表示等于
-
慕数据8267187
BGPJAUKGHKLPBGWMGTPPMGJAKWFSPCMLVXLOHNNGMTEKXRWTNIGTXLUUOBJARNDPMJHREMZHYEUQDZOOLZWKYQKZURRFSAQTYREDGJXXUULIFEHVIOSVYMQWKWOLELSLLFZJCXAHVQDNQUAPCYRSWZGFZKFCLDTWDGAJJDKEVERBEKUARROZCIXNYSTTADHFWSWEIMPWTNTUZLTJIFIMZTDHGGKXIFISLFCMGFPQDNWHEYHXQVLOLBCQWNAICOUAVIIOLJFMPRBYPSIQDREQAGTGTXKUEEFCVRIJENRAXRFFHTRBHLRBEOIZMFGNKHAJGNBZIUUKRWMVMAQDWSSPMJSGDNQLCHUNOMGUICSGMOHGTNRIVBSZUKNQTXAQXRJNQFVIFBIOOQAKTPYROYMJFJISVBAVPGYYICICBXAPFIZCZDHNLGJGARLUVFPPFRTANAEXUIFVKTFSZCWAUXBXTPFZQVVIBCFIIENHLFVLSYLSRBQGNRRPKUKOPMMPDXBHKXBHSLBYTDTTCZTKDFFCSWTTTDRHZLKHCTCNRHBBATZDWTWWUAFEGQHHKKJWJFMVJIOXKYURRIOEQAPQWQQSPSWLOJCLGJWWLYEBJOMLZCYOBEBHQISIMOPICJFVPZYWZUFNQHUDKCMNSFTJJWDLTYZJXISIIIXDBWCTZNCMPWDMQWGWTXEPVVDDVKDCJNYOEBRHFHQOSPJWJMIRSUNHUEKJXTELLRYOBEYCZNUOZRRHCMQQZWJSXDMYOLHOFSZZCSOBCBFLLSFTKFRRETQPMJQTZLUXULFTGJOUGYEVLGAXNOFSJBHKHLOYREIRRETQHAQIODJXIYBIJUELYBVVXJWGNSYBPMVCKZPMGAAXAHDDQQWLRYCGMGMWIHYOVPYGZDDXUQUDIMZPWTJZPFONANKDANDXRXNKHLZYKHAHJVADAXSFPYCIVHPTQNQWANQG