If you are writing C++, you can use
const int VAL=1354;
to define a constant of type int at compile time.
Subsequently, you can assign this value to x[23][52], if you wish.
However, you cannot stop the array x[][] from changing values.
If you do not know how many you need, you can enter the value as a variable,
for example:
int n1,n2;
scanf("%d%d",&n1,&n2);
then use malloc to allocate the arrays.
If you need more details, PM me for what you need (in Chinese traditional).
這類問題,通常會用 pointer + malloc() function 的方法,即是建造一個 dynamic data structure, e.g. linked list 來儲存從檔案讀取的、不知個數為多少的資料。若您認為使用 array 方便處理資料的話,可以在檔案完成讀取、 data structure 建成、資料個數已知後,才用 malloc() 設定一個 dynamic array ,然後把 data structure 中的資料 copy 到 array 後才處理。