写出下面程序的运行结果



#include <stdio.h>


int main()
{

	char a[] = "morming", t;
	int i, j=0;
	int k;
	
	k = sizeof(a);
	for(i=1; i<7; i++)
		if(a[j] < a[i]){
			j = i;
		}
		t = a[j];
		a[j] = a[7];
		a[7] = a[j];
		puts(a);
}

    原文作者:troy002
    原文地址: https://blog.csdn.net/troy002/article/details/26614833
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞