What is the difference between the functions rand(), random(), srand() and randomize()?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

#include<iostream.h> void main() { class x { public: int func(int) { cout<<"cool"; return 1; } } }

1 Answers   Infosys,


Why do we use vector in c++?

0 Answers  


How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?

0 Answers  


Why do you use the namespace feature?

0 Answers  


What do you mean by C++ access specifiers ?

1 Answers  






Define token in c++.

0 Answers  


What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

0 Answers  


What is srand c++?

0 Answers  


Write a struct time where integer m, h, s are its members?

0 Answers  


how can u create a doubly linked list with out using pointers?

2 Answers  


Is it possible to use a new for the reallocation of pointers ?

0 Answers  


Which function should be used to free the memory allocated by calloc()?

0 Answers  


Categories