You cannot do the following

const int N = 10;

then in some other function you want it as

int arr[N]

This will give error as N is not a compile time constant.

Again if you wish to write

N = 20 then it will also give error because N is a read only calue and cannot be overwritten.