Questions tagged «lexical-analysis»

6
我们可以在变量名中写注释吗?
int main() { i/*nt*/a = 10; return 0; } 如果我有上面的代码并且想要计算令牌,那么它是14还是13个令牌? 在变量名内写注释是否有效?你可以假设int i,int a,int ia是全局定义。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.