《C++ Primer Plus》第四章 复合类型 4.12复习题答案

1

char actor[30] = {
    0 };
short bstsie[100] = {
    0 };
float chuck[13] = {
    0 };
long double dipsea[64] = {
    0 };

2

array<char,30> actor={
   0};
array<short, 100> betsie = {
    0 };
array<float, 13> chuck = {
    0 };
array<long double, 64> dipsea = {
    0 };

3

int a[5]={
   1,3,5,7,9};

4

int even=a[0]+a[4];

5

float ideas[5] = {
    1,

你可能感兴趣的:(c++,c++)