排序
编写一个程序找出一个二维数组中的鞍点
编写一个程序找出一个二维数组中的鞍点,即该位置上的元素在该行上最大,在该列上最小,也可能没有鞍点。 #include 'stdio.h'#include 'conio.h'#define M 3#define N 6 void main(){ int a[...
输入一个3×6的二维整型数组
输入一个3×6的二维整型数组,输出其中最大值、最小值及其所在的行列下标。 #include 'stdio.h'#include 'conio.h'#define M 3#define N 6 void main( ) { int a[M][N],max,...
指针变量找出一维数组中的最大值和最小值
编写一个程序通过指针变量找出一维数组中的最大值和最小值,并交换最大值与最小值的位置。 #include 'stdio.h'#include 'conio.h'#define N 5void main( ){ int a[N],*pmax,*pmin,...






