// PRUEBA DE LOS ALEATORIOS
#include <stdlib.h>
#include <stdio.h>
#include <time.h> /* ◄── */
int main()
{
int k, pos=0, VN_L=0, VM_L=0;
srand (time (NULL)); /* ◄── */
k=rand() % 11;
int VN [k];
VN_L = k;
srand (time (NULL)); /* ◄── */
k=rand() % 11;
int VM[k];
VM_L = k;
for(pos=0; pos < VN_L; pos++)
{
srand(time (NULL));
k=rand() %11;
VN[pos] = k;
}
for(pos=0; pos < VN_L; pos++)
printf("VN[%d] = %d\n", pos, VN[pos]);
}