Sir in all the sorting algorithm you and not making swap funtion you are directly writing swap(a,b) so is swap a inbuilt funtion ??
Implementation of Selection sort
Yes it is an inbuilt function.
1 Like
So sir can i use it directly swap funtion in any compiler or only in coding blockes ide
You can use it in any compiler.
1 Like