The code is the following, I have doubts in the line that is inside the for, I do not know how to bring it to the C language, only that line, the rest I know, it is the NRU paging algorithm.
int numberofframes;
int references;
char *pages;
char *faults;
char **frametable;
cout << "\nEnter the number of references of pages you want to have: ";
cin >> references;
pages = new char[references];
faults = new char[references];
//The matrix for the frames is created
frametable= new char*[numberofframes];
for(i = 0; i < amountofframes; i++){
frametable[i] = new char[references];//What would this line in C look like?
}