, .
"" ( " " ) , . , .
:
void f(int x)
{
x = 42;
}
void g()
{
int y = 54;
f(y);
}
f() x, x, , y g(). , f() x, , y of g(). .
++ , :
void f(int& x)
{
x = 42;
}
void g()
{
int y = 54;
f(y);
}
( "&" ) ++ , x, f(), y, g(). : x y . .
"C". C ( ++) char, 0 ( ). ; . - , . ; - ( 32 64 , ), , char . , strcpy(), ( , ). : ; .
, strcpy() , . strcpy() , . strcpy(). , .
, : , , , . (strcpy() , ). , RAM ( ) " ", , (strcpy()) . , "" :
++: "reference" "&", .
: "" , , . , , , .
++ "reference" ( ) - " " ( ) .