Question #5896   Submitted by Answiki on 02/22/2022 at 07:14:54 PM UTC

In which library is the rand() function in C ?

Answer   Submitted by Answiki on 02/22/2022 at 07:15:58 PM UTC

In C, the rand() function is in the library stdlib.h:

#include <stdlib.h>

2 events in history
Answer by Answiki on 02/22/2022 at 07:15:58 PM

In C, the rand() function is in the library stdlib.h:

#include <stdlib.h>

Question by Answiki 02/22/2022 at 07:14:54 PM
In which library is the rand() function in C ?
# ID Query URL Count

Icons proudly provided by Friconix.