.


:




:

































 

 

 

 


, , , , . , , ( , , ) . [1].

. . XX, XXX, , XY, , , AI, , . . , 4 12 . , _ _ _ , , .

. ( 6 ). PL/1 31 , , . .

. , , VALUE VALUES, BRACA, BRACB, BRACC BRACD. . , , .

, . 0, 1, 2 5 , I, Z S. , .

.

C++

int max(int x, int y)

{

if (x > y)

return x;

else

return y;

}

 

max, x y . int, if, return else , .

. , . , , , , .

. () . - , , .

, .

++:

int simple_function(const int&, int);

int simple_function(const int& a, int b);

{

a = 1;// ! a

return 0;

}

. , . :

a = b = c = d;

( ).

x = 2 * (a = 3 + b);

( ).

, , , :

a = 3 + b

x = 2 * ;

e . , , .

 



<== | ==>
|
:


: 2015-05-08; !; : 373 |


:

:

, , . , .
==> ...

1543 - | 1383 -


© 2015-2024 lektsii.org - -

: 0.011 .