Realiza un programa en C que rote una posición a la izquierda los elementos de un vector. El vector [1 2 3 4 5] al rotar dará como resultado [2 3 4 5 1].
#include <stdio.h> int main() { int i,j,a[100],b[100],n; printf("enter the value of n"); scanf("%d",&n); printf("enter the %d valus of first array"); for(i=0;i<n;i++) { scanf("%d",&a[i]); } printf("enter the %d valus of second array"); for(j=0;j<n;j++) { scanf("%d",&b[j]); } for(i=0;i<n;i++) { printf("%d\t",a[i]); } for(j=0;j<n;j++) { printf("%d\t",b[j]); } printf("\n\n"); for(i=0;i<n;i++) { printf("%d\t",