函数fun的功能是比较两个字符串。如果两个字符串相等,则函数值为0;如果第一个字符串大于第二个字符串,则函数值为1;如果 第一个字符串小于第二个字符串 ,则函数值为-1。 include "stdio.h" include "string.h" int fun()

时间:2024-04-04 15:19:34

相似题目