int main()
{
int i, Quant, *Qsize1[4];
char *size1[4], size[5];
for(i=0; i<3; i++)
{
printf("Select Size : (S, M, L, XL) ");
scanf("%s",size);
size1[i]=size;
printf("How much quantity for this size? : ");
scanf("%d",Quant);
Qsize1[i]=Quant;
}
for(i=0; i<3; i++)
{
printf("\nSize %s : %d",size1[i], Qsize1[i]);
}
return 0;
}
example of print that i want is = Size L : 25 but when i print the it will print the last size i enter. also the quantity of that size is wrong.