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 |
What are vtable and vptr?
How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?
What is the difference between static link library and dynamic link library?
without if else statement can be written ah
How many types of scopes are there in c++?
Do vectors start at 0 c++?
What is the extraction operator and what does it do?
Write a corrected statement in c++ so that the statement will work properly. x =+ 7;
Explain the purpose of the keyword volatile.
What is the output of: String a1 = "Hello"; String a2 = "world!"; String* s1 = &a2; String& s2 = a1; s1 = &a1; s2 = a2; std::cout << *s1 << " " << s2 << std::endl;
What is an adaptor class or wrapper class in c++?
Explain how to initialize a const member data.