Hi everybody,

I am using a C program in a loop of a Bash script.

In the C program there is a table whose dimensions should be updated at each index of the loop.
Usually I declare the dimension by using define function as below:
Code:
#define N 25
. However, in this case it will be time consuming, because I have to change N at each increment of the loop.

How can I directly introduce the dimension N from the bash script to my C program.

Thank you