diff --git a/README.md b/README.md index 71ca419..1dc3621 100644 --- a/README.md +++ b/README.md @@ -220,7 +220,10 @@ void SwapFloat(float *x,float *y) ``` void SwapLong(long *x,long *y) { - + long temp; + temp = *x; + *x = *y; + *y = temp; } ```