What is difference between rand () and srand ()?


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

Post New Answer

More C++ General Interview Questions

When to use Multiple Inheritance?

6 Answers  


What is searching?

0 Answers  


What is Virtual Inheritance?

7 Answers   Amazon, Wipro,


1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v

5 Answers   Quark,


What is c++ try block?

0 Answers  






What are static type checking?

0 Answers  


Why null pointer is used?

0 Answers  


Explain terminate() and unexpected() function?

0 Answers  


What is oop in c++?

0 Answers  


If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];

3 Answers  


What is the Difference between "C structure" and "C++ structure"?

12 Answers  


What is a conversion constructor?

1 Answers  


Categories