Sorting algorithms/Bubble sort: Difference between revisions
Content added Content deleted
(added Yorick) |
|||
Line 224: | Line 224: | ||
=={{header|C}}== |
=={{header|C}}== |
||
<lang c>void swap(int *p) |
<lang c>void swap(int *p)//Function Swap |
||
{ |
{ |
||
int t = p[0]; |
int t = p[0]; |