结果没有输出,检查过很多不知道为什么

各项检查过,不知道最后结论为什么没有输出.题目是找鞍点
#include
int main()
{
int r = 0, c = 0, d = 1, h = 1;
int a[120][120];
int t = 0;
printf("输入行数目\n");
scanf_s("%i", &r);
printf("输入列数目\n");
scanf_s("%i", &c);
for (int x = 0; x < r; x++)
{
printf("输入需要排列数列%i行\n ", x);
for (int i = 0; i < c; i++)
{
scanf_s("%i", &a[x][i]);
}
}
for (int x = 0; x < r; x++)
{
for (int i = 0; i < c; i++)
{
while((a[x][i] > a[h][i])&&(h <= r))
{
h++;
}
while((a[x][i] < a[x][d]) && (h <= r))
{
d++;
}
if ((h == r) && (d == c))
{
printf("the sail point is %i", a[x][i]);
t = 1;
}
}
}
if (t = 0)
{
printf("the sail point is not exsit ");
}
return 0;
}

结果没有输出,就是有死循环了,你可以运行过程中下断点,看停在哪个循环。