3 ms·
Maybe in an low quality implementation. rand() is not defined to have error conditions, and definitely not assert when malloc fails.
by tedunangst 5y ago
Maybe in an low quality implementation. rand() is not defined to have error conditions, and definitely not assert when malloc fails.