What is the difference between std::vector and std::list
Answer / nashiinformaticssolutions
o Vector: Uses contiguous memory and supports random access.
o List: Uses linked nodes and is better for frequent insertions/deletions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the difference between realloc() and free() in c++?
What is a memory leak c++?
Is structure can be inherited?
What is a breakpoint?
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
What is the use of the this pointer?
Mention the purpose of istream class?
Explain the operation of overloading of an assignment operator.
What do you mean by persistent and non persistent objects?
What are the various oops concepts in c++?
what are Access specifiers in C++ class? What are the types?
What is the difference between global int and static int declaration?