Method 2 is faster, about 1/3, 1/4 ... it's not negligible for a lot of processing
Type: Posts; User: vohu
Method 2 is faster, about 1/3, 1/4 ... it's not negligible for a lot of processing
thanks :)
and, the expression "pass by reference" in C langage is a malapropism...I read that php language use automatic passing reference, this functionnality is integrated in C++11 ?
Finaly, the reference simplify the use of pointers ?
hello,I think that your 2 codes are equals after compilation, but, expect other response :)
Hello,
I have a question : in C language, can we pass value by reference, as we do in C++ language ?
For example :
I know the method with pointers :
int myfunction (int *var) //like that
...