Learn/C/C — Beginner/Dynamic Memory/Checkpoint: Dynamic Memory/Fill Then ScaleFill Then ScaleChallenge on lesson: Checkpoint: Dynamic MemoryInstructionsCodeOutputImplement int* make_filled(int n) returning a heap array of n ints filled with 1..n (NULL for n <= 0 or allocation failure), and void scale_all(int *a, int n, int k) multiplying each element by k.Difficulty: beginnerSubmitPress Submit to check your solution.Back to lesson: Checkpoint: Dynamic Memory