When can you tell that a memory leak will occur?
Answer / harendra pal
A memory leak occurs when a program loses the ability to free a block of dynamically allocated memory.
Is This Answer Correct ? | 0 Yes | 0 No |
Tell me difference between constant pointer and pointer to a constant.
string somestring ; Which of the following choices will convert a standard C++ string object "somestring" to a C string? a) Copy.somestring () ; b) somestring.c_str () c) &somestring [1] d) std::cstring (somestring) e) (char *) somestring
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
What does iomanip mean in c++?
Why do we use using namespace std in c++?
What is a hashmap c++?
Is java the same as c++?
Differentiate between a template class and class template in c++?
What is the use of main function in c++?
which is best institue to learn C/C++ IN AMEERPET OR MAITHRIVANAM OR SR NAGAR, PLEASE HELP. THANKS IN ADVANCE
What is ios :: in in c++?
What is the use of endl in c++ give an example?