MISSION: Array Rotation

Problem Statement:

Given an array of integers, implement a function to rotate the array to the right by a given number of positions.

Function Signature: void rotateArray(int arr[], int size, int positions);

Input: arr - An array of integers, size - The number of elements in the array, positions - The number of positions to rotate the array to the right.

Output: Print the rotated array.

Output Format:


  
Mission Status: Started