摘要: 声明:大部分知识和代码来自黑马程序员 一.引用和函数参数传递 #include <iostream> using namespace std; int& test_01() { static int a = 10; return a; } int main() { //勿返回局部变量的引用(和地址) 阅读全文
posted @ 2022-01-17 19:07 99_05 阅读(30) 评论(0) 推荐(0)