4.1 - ()
float fA [ 4 ]={ 0.1f, 0.2f, 0.3f, 0.5f };
const int iDim=3;
int iMassiv [ iDim ]={ 1, 2, 3 };
char cArray []={ a, b, c, d };
, * , .
, , . , 10 double double [ 10 ]. .
, . . , , int
Type Name [ int ];
4.2 -
// 10 float
float fArray [ 10 ];
// 13 int
const int Dim=13;
int* pInt [ Dim ];
4.2 .
. -. . . . .
3.3. , . , , &. , *. .
a , const. . , const
onst * =;
.
4.3 -
// int
const int constInt=3;
//
const int* pconstInt=&constInt;
//
*pconstInt= 1; //
//
int* p=&constInt; //
, , const.
* const _ = ;
-.