这么简单的程序也会出错?
#include<iostream>#include<cstddef>
using namespace::std;
int main()
{ const size_t b=5
int a[b]{0,1,2,3,4};
int *c=a;
cout<<*c<<endl;
return 0;
}
55555555555555555
为什么还是有错误?
2007-11-28 21:36
2007-11-28 21:38
2007-11-28 21:39
2007-11-28 22:02
2007-11-28 22:07
2007-11-28 22:19
2007-11-28 22:28
2007-11-28 22:44
2007-11-30 12:47