下列给定,函数proc的功能是:读入一个字符串(长度<20),将该字符串中的所有字符按ASCIl码升序排序后输出。 例如,输入opdye,则应输出deopy。 请修改的错误,使它能得到正确结果。 注意:不要改动main函数,不得增行或删行,也不得更改程序的结构。 试题程序: include%string.h> include%stdlib.h> include include //****found**** int proc(char str[]) { char C; unsigned i,j; for(i=0;i str[j]) { c=str[j]: //****found**** str[j]=str[i++]; str[i]=C; } } void main { char st/[81]; system('CLS'); printf('/nPlease enter a character string:'); gets(str); printf('/nknBefore sorting:/n %s',str); proc(str); printf('/nAfter sorting decendingly:/n %S',str); }