Loading....
Coupon Accepted Successfully!

 

Other Functions

  • There are many functions available in C++.
  • They are such as random functions
  • Random functions are used to numbers are characters in any order.
  • They uses various functions. They are listed below
    • rand()
    • srand()
    • random()
    • randomized()

For example

#include<iostream.h>

main()

int rnum , i;

for(i=0;i<5;i++)

cout << (rnum = rand())<<endl;

}





Test Your Skills Now!
Take a Quiz now
Reviewer Name