What is difference between rand () and srand ()?
No Answer is Posted For this Question
Be the First to Post Answer
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
What is oops in c++?
Write a single instruction that will find the remainder of integral division when x is divided by y. Have the answer stored in z.
What is constructor in C++?
What is fixed in c++?
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.
Explain rtti.
What do you mean by translation unit in c++?
Why pure virtual functions are used if they don't have implementation / When does a pure virtual function become useful?
Explain abstraction.
Why do we use templates?
Why is standard template library used?