Exam (elaborations)
DynamicString.cpp Study Guide Exam Questions And Answers2024.
- Course
- Institution
Default Constructor - correct answer DynamicString::DynamicString(){ cstr = new char[1]; *(cstr) = '0'; size = 0; } C-String Constructor Creates a copy of the provided c-string. - correct answer DynamicString::DynamicString(const char* str){ size = 0; //Initializing a counter ...
[Show more]