热门

最新

红包

立Flag

投票

同城

我的

发布
qq_44831642
'一只小锦李'
6 年前
trueqq_44831642

为什么要学习C++

CSDN App 扫码分享
分享
评论
3
打赏
  • 复制链接
  • 举报
下一条:
内部静态变量的作用域和持续性的实验代码:#include "pch.h"#include <iostream>int* x();using namespace std;int *c;int main(){ static int a; cout <<*(x()); }int* x(){ static int w = 155; c = &w; return c;}
立即登录