Quiz: Introduction to C++

Quiz yourself on C++ basics.

1

What replaces the handcrafted linked list using string_elem_t?

struct string_elem_t {
 const char* str_;
 string_elem_t* next_;
};
A)

Machine code

B)

The std::string class

C)

std::forward_list

D)

Pointer

Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.