#include<stdlib.h>
#include<stdio.h>
int main()
{
char v1=0;
char v2=0;
printf("Enter the number of elements of first vectors : ");
scanf(" %d",&v1);
printf("v1=%d\n",v1);
printf("Enter the number of elements of second vectors : ");
scanf(" %d",&v2);
printf("v2=%d\n",v2);
printf("v1=%d\n",v1);
printf("v2=%d\n",v2);
return 0;
}
If we assumed v1=50 and v2=300 Why does v1 value changes in the second print