Challenge: Dynamically Allocate Space for Two Structures

Apply what you’ve learned about dynamic memory allocation in the coding exercise in this lesson.

Problem statement

In this challenge, you have to implement the allocateSpace function.

void allocateSpace();

Get hands-on with 1200+ tech skills courses.