Hi, I want to know something about functions.
Say I need to swap two integers frequently in my program.
The ususal way will be to declare
But I am sure that using a function is slower than just typing the code where I want. I want to know how much a function call costs. by how much will it slow the program?
Say I need to swap two integers frequently in my program.
The ususal way will be to declare
Code:
void Swap(int & , int &);
Comment