This code only for integer numbers, but I hope it will be enough. I am used the GCC for compilation and only the C standard library. Read comments for details. Your results will be has different values, but since it will be random.
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <errno.h> // http://man7.org/linux/man-pages/man3/errno.3.html
#define ERROR_MIN_MORE_MAX_VALUE "Min value is more max value, returned 0"
/*
    Returns a random integer in between min (inclusive) and max (inclusive)
    Returns 0 if min > max and to write a error message.
 */
static int
random_integer(const int min, const int max) {
    if (max == min) return min;
    else if (min < max) return rand() % (max - min + 1) + min;
    // return 0 if min > max
    errno = EINVAL;
    perror(ERROR_MIN_MORE_MAX_VALUE);
    return 0;
}
/*
    Fills an array with random integer values in a range
 */
static int
random_int_array(int array[], const size_t length, const int min, const int max){
    for (int i = 0; i < length; ++i) {
        array[i] = random_integer(min, max);
    }
    return 0;
}
/*
    Print an array of integer items
 */
void
print_int_array(int array[], size_t length) {
    char ending_charapter[] = ", ";
    putchar('[');
    for (size_t i = 0; i < length; ++i) {
        printf("%d", array[i]);
        if (i < length - 1) {
            printf("%s", ending_charapter);
        }
    }
    puts("]");
}
int
main (const int argc, const char *argv[])
{
    // for get a random integer number from a system, to pass a current time to the function srand
    srand(time(NULL));
    int arr[10];
    printf("\tAn array with random values from 0 to 100\n");
    random_int_array(arr, 10, 0, 100);
    print_int_array(arr, 10);
    printf("\n\tAn array with random values from -100 to 0\n");
    random_int_array(arr, 10, -100, 0);
    print_int_array(arr, 10);
    printf("\n\tAn array with random values from -100 to 100\n");
    random_int_array(arr, 10, -100, 100);
    print_int_array(arr, 10);
    return 0;
}
Result
    An array with random values from 0 to 100
[86, 25, 98, 61, 42, 26, 87, 56, 86, 79]
    An array with random values from -100 to 0
[-33, -92, -57, -92, -6, -15, -61, -32, -75, -85]
    An array with random values from -100 to 100
[-15, -99, 54, 42, -74, 46, 6, -44, 86, -47]
Testing environment
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.6 (jessie)
Release:    8.6
Codename:   jessie
$ uname -a
Linux localhost 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
$ gcc --version
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.