Exercises on Pointers

Test your knowledge on pointers and dynamic memory!

We'll cover the following

Question

Refactor the code from your matrix program (given below) so that the size of a matrix is not fixed to a maximum number of elements. Instead, use dynamic memory allocation.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy