Example & Tutorial understanding programming in easy ways.

How we generate the random number in C language?

We use rand() function to generate the random number.


int n=rand()%10;

-It generate the random number in between 0 to 10.

-It is predefined in stdlib.h header file.

Read More →
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!