【填空题】下面程序的功能是将字符数组a[6]={'a' 'b' 'c' 'd' 'e' 'f'}变为{'f' 'a' 'b' 'c' 'd' '

大学网课 已帮助 人

【填空题】下面程序的功能是将字符数组a[6]={"a","b","c","d","e","f"}变为{"f","a","b","c","d","e"}。请分析程序填空。 #include <stdio.h> main() {char t,a[6]={"a","b","c","d","e","f"}; int i; 【1】; for(i=5;i>0;i--) 【2】; a[0]=t; for(i=0;i<=5;i++) printf("%c",a[i]); }

【填空题】下面程序的功能是将字符数组a[6]={'a' 'b' 'c' 'd' 'e' 'f'}变为{'f' 'a' 'b' 'c' 'd' '

热搜:下面程序的功能是输出数组s中最大元素