https://technotip.com/8964/c-program-...
Write a C program to shift elements of an array by n positions or rotate the array elements n times.
Example: Expected Input/Output
Input/Output
Enter 5 integer numbers
1
2
3
4
5
Enter the number of positions to shift
1
Enter the direction of shifting …
LEFT: 1 and RIGHT: 0
1
Array after shift operation …
2
3
4
5
1
C Programming Interview / Viva Q&A List
https://technotip.com/6378/c-programm...
C Programming: Beginner To Advance To Expert
https://technotip.com/6086/c-programm...