Answers for "swap function c++ complexity"

C++
0

c++ swap function

int main()
{
	int a = 5;
	int b = 10;
  
	swap(a, b);
  
	cout << "a = " << a << endl;
	cout << "b = " << b << endl;
}
Posted by: Guest on May-08-2021

Browse Popular Code Answers by Language