请问在VB中2+5是合法常量嘛?

来源:学生学帮网 编辑:学帮网 时间:2024/06/01 16:23:55

请问在VB中2+5是合法常量嘛?

2 + 5不是常量,是数值表达式
而 “2 + 5”才是字符常量.