diff --git a/algorithms/C/arrays/left_rotationOfarray.C b/algorithms/C/arrays/left_rotationOfarray.C new file mode 100644 index 00000000..872b3a99 --- /dev/null +++ b/algorithms/C/arrays/left_rotationOfarray.C @@ -0,0 +1,61 @@ +/* PROBLEM: Given an array arr[] of integers, now make left rotation of the array according to the number given by user then print the updated array */ + +#include +#include +void reverse(int*arr,int start,int end) +{ + while(start