Sajid is a First year student in reputed institution. Although he scored well in many subjects, he did not an expert in Algorithms. But Sajid's computer examination is scheduled for next week. As per the blueprint, many questions would come from the Arrays topic. He collected previous year's questions. one of the repeated questions is you need to reverse the array in C Programming Language. Can you help him ? Function Description Constraints 0
C Program

#include <stdio.h>

int main()
{
    int n;
    scanf("%d",&n);

    int arr[n];

    for(int i=0;i<n;i++)
        scanf("%d",&arr[i]);

    for(int i=0;i<n/2;i++)
    {
        int temp = arr[i];
        arr[i] = arr[n-i-1];
        arr[n-i-1] = temp;
    }

    for(int i=0;i<n;i++)
        printf("%d ",arr[i]);

    return 0;
}