**New course!**Every coder should learn

**Generative AI!**

# The program is working like this, but i have problem declaring and calling the functions using pointers in 2D arrays

In this problem, you are asked to fill a n x n Sudoku box by numbers from the user such that: The Sudoku box is represented by a square (n x n) matrix. You will be using 2D arrays, so n should be known in compile time. Your code should be testable for any value of n ≥ 3. To ease testing your code on different values of n (n ≥ 3), define n as a global variable. All numbers in the box should be in the range [1, n x n] i.e. between 1 and n x n. Each number between 1 and n x n, can appear only once in the box. Initially fill the n x n matrix by 0’s Fill the matrix by reading numbers from the user. You should consider cases where the user input may be invalid, and ask him/her to input a valid number: o If the user input is outside the range [1, n x n]. o If the input is in the range, but the number is already in the box (violates the rule). To determine if the number is already in the box you should use two functions: foundInRow(int* arr[], int row, int number): checks if number belongs to the specified row in arr. foundInColumn(int* arr[], int column, int number): checks if number belongs to the specified column in arr. Print the box after filling it. https://code.sololearn.com/cX6tm5wFmQkU/?ref=app