Assume that pages are 128 words in size. Consider below code snippet whose function is to initialize to 0 each element of a 128-by-128 array. Then number of page faults generated by the following Code snippet is :
(Assume the array is stored row major order , For pages of 128 words, each row takes one page.)
int A[128][128];
for( int j=0; j<128; j++)
for( int i=0; i<128; i++)
A[i][j] = 0;
A. 128
B. 16384
C. 0
D. 16378