cpp
void 找出数组中值最大的元素和它在数组中的位置()
{//缘由https://ask.csdn.net/questions/7436585?spm=1005.2025.3001.5141
int a[4][4], aa = 0, aaa = 0, d = 0, x = 0;
while (aa < 4 && aaa < 4)
std::cin >> a[aa][aaa],
(a[aa][aaa] > a[d][x] ? d = aa, x = aaa : 0),
(++aaa >= 4 ? aaa = 0, ++aa : 0);
std::cout << a[d][x] << std::ends << d << std::ends << x << std::endl;
}
