Answer to Question #49849 in C++ for mishal
template <typename T>
void swap(T* left, T* right)
T temp = *(left);
*(left) = *(right);
*(right) = temp;
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
You're welcome. We are glad to be helpful. If you liked our service please press like-button beside answer field. Thank you!
thank u so much!