填空题

函数strcmp( )的功能是对两个字符串进行比较,当s所指字符串和t所指字符串相等时,返回值为0;
当s所指字符串大于t所指字符串时,返回值大于0;当s所指字符串小于t所指字符串时,返回值小于
  0(功能等同于库函数strcmp( ) ),请填空。
  #include <stdio.h>
  int strcmp ( chat * s, char * t)
  { while( * s && * t && * s= 【15】 
   { s++;t++; }
   return  【16】  ;
  }

【参考答案】

【15】 * 或t[0]【16】 * s- *t 或 * s-t[0]或s[0]- * t或s[0]-t[0]