shivangdubey / HacktoberFest2020

Repository to let enthusiasts create issues and pull requests for the Open Source event
MIT License
35 stars 275 forks source link

changed swap function in Bubblesort.cpp and implemented BinarySearch in c++ #489

Closed wolfyhell closed 2 years ago

wolfyhell commented 3 years ago

Now the swap function is taking arguments by reference(not by pointers), i.e. to use swap you don't pass parameters with the *. Also, there is BinarySearch.cpp .