array declaring in c is not allocating memory code example Example: c allocate array int *array = malloc(10 * sizeof(int));