标签:style blog color io os for sp div c
#include<stdio.h> #include<iostream> #include<assert.h> using namespace std; static int a=100; void func() { static int a=10; a++; cout<<a<<endl; } int main() { for(int i=0; i<10; i++) func(); a++; cout<<a<<endl; }
#include<stdio.h> #include<iostream> #include<assert.h> using namespace std; static int a=100; void func() { a++; } int main() { a++; cout<<a<<endl; }
标签:style blog color io os for sp div c
原文地址:http://www.cnblogs.com/huangcongcong/p/4003435.html