This:
and this:Code:struct test **tests = malloc(sizeof(tests[0]) * number_of_tests);
are equivalent. The former is better. So no, this should not have changed anything.Code:struct test **tests = malloc(sizeof(struct test*) * number_of_tests);