Since nothing is given about the number of available free frames , so we take number of free frames = 1 which is the default assumption.
Now it is interesting to see in the question that the storage is done in row major order but accessing and initialisation of array elements is done in column major order.
So the organisation of pages will be like this :
Page 0 will store the 0th row elements.
Page 1 will store the 1st row elements
and so on till page no 127.
But we are accessing columnwise and hence in every iteration of inner loop we are accessing different row elements.Hence page fault is incurred in every iteration.
Hence no of page faults = no of times inner loop is executed
= 128 * 128
= 16384
Thus B) should be the correct option.