Change scanf('%d', &row);to
scanf("%d", &row);
'%d'is a multi-channel literal that has a type int.
"%d", on the other hand, is a string literal that is compatible with const char *, as expected with the first argument scanf.
%d, int ( '%d') const char * ( scanf) , .