

    C++__________________________________711

void F(const int Ar [ ] , int N) ;

, ,    ,   -
  .       :

int Sumfconst int [], int N)
{

// N   

int S = [0];

for(int i = 1; i < N; i++) S += A[i];

return S;

)

     .

ftdefine Bmax 10
int B[10] = (1,2,3,4,5,6,7,8,9,10};

ShowMessage("  " + IntToStr(Sum(B,)));

       .  
 -  . ,      
   .       
      Bmax, a Bmax  2,   
        0  7.   
        -  -
. ,      :

Sum( + 2, Bmax - 2)

        ,    . ,
        0  7,  -
     ,    2  9. ..  
  ,   .

     ,     -
     ,     -
     . ,  -
 F2      3  3,    -
  :

void F(const int Ar[][3]);

         .
, F(A).

12.11 

12.11.1    

     ,    -
 .        
 .  ,        ,
    ,    .

      .   -
    ,      -
.

       -
:

struct TPers (

AnsiString Fam,Nam,Par;

unsigned   Year;