Create swap.cpp #1591
Create swap.cpp #1591
Conversation
This program uses XOR bitwise and swap the values of 2 variables
@helper-uttam Proper Documentation and formatting needed. You can also have a look for previous successfully pr merged for reference. Thanks. |
I had added documentation related with every line of code. Now if there anything left please let me know? |
Hey there! Thank you for submitting a PR! |
not working
can someone please suggest me some changes. Like |
Pass reference in the swap function instead of pointer and compare individual values using assert. |
This program uses XOR bitwise and swap the values of 2 variables
Description of Change
Checklist
Notes:
This program uses XOR bitwise and swap 2 values.