Inspiration
Code your own way
What it does
generate 10 random numbers without using any builtin random number generator modules
How we built it
Declared an integer type pointer. Dynamically allocated memory for it its size. Since dynamic memory allocation(malloc) returns a void pointer, henced typecasted it as (int*). Then, printing that integer will give a random number every time.
Log in or sign up for Devpost to join the conversation.