Methods for passing parameters in C / C ++

There are various methods for passing parameters, such as Call Call Value, Call By Reference, Call By Value Result, Call By Name, Call By Text, and Call By Need in Programming Languages.

I have seen implementations of Call Call Value and Call By Reference in C / C ++; but other methods were taught only with the help of simple simple examples, where it is given to us that in this example “Call by value of result” is used and therefore respond accordingly. I was wondering if other methods were implemented in C / C ++ or in any other languages, or were they theoretical?

+4
source share
3 answers

C - .

+1

++ . ++ - .

0

Note this using the parameter comparison method http://c2.com/cgi/wiki?ParameterPassing

-1
source

Source: https://habr.com/ru/post/1539247/


All Articles