第8题 在C++代码中,user_Name、userName、user-Name、userName都是合法的变量名。( )

别灰心,再试一次!

💡 真题解析

答案:错误

解析:变量名仅能由数字、字母、下划线构成,其中user-Name是不合法变量名。