define可以定义“宏函数”,const据我所知是不能定义“const函数”的,不过const可以用来修饰函数的形参或者函数的返回值。
点赞

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务