当前位置:网站首页>In C language, int a= 'R'

In C language, int a= 'R'

2022-07-05 06:47:00 like_ new_ human

stay c In language ,int a=‘R’’; The correct expression is
A.a%10 ` B.a=int(3e2) C .2*a=a++ D.a=a+a=a+3
Many answers on Baidu say a Cannot assign values to constants .
a Is an integer variable , Value is constant R Value . therefore a Can perform assignment operation .

原网站

版权声明
本文为[like_ new_ human]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140600406532.html