安全问答

安全问答是一个知识全球问答,包含丰富的问答知识

首页 常规 游戏 娱乐 科技 程序员

10 填空题 8分 函数fun的功能是比较两个字符串。如果两个字符串相等则函数值为0;如果第一个字符串大于第二个字符串则函数值为1;如果第一个字符串小于第二个字符串则函数值为-1。#include stdioh#include stringhint funchar achar b int k; ifstrcmpab0 【1】; else if【2】 k=0; else k=-1; 【3】;m

  • 日期: 2028-05-20
  • 标签: 社会
  1. k=1;
  2. strcmp(a,b)==0
  3. return k;
  4. t=fun(s1,s2);
10 填空题 8分 函数fun的功能是比较两个字符串。如果两个字符串相等则函数值为0;如果第一个字符串大于第二个字符串则函数值为1;如果第一个字符串小于第二个字符串则函数值为-1。#include stdioh#include stringhint funchar achar b int k; ifstrcmpab0 【1】; else if【2】 k=0; else k=-1; 【3】;m

原文地址: https://www.cveoy.top/t/topic/fj9I 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录

  • 上一篇: NDA-Standard Non-Disclosure Agreement English VersionNON-DISCLOSURE AGREEMENT between and WHEREAS The parties may have disclosed and will further disclose certain confidential information hereinafter
  • 下一篇: 延安新胜网络公司员工离职现状及应对策略研究

© 2019 • 2025 - 安全问答 站长邮箱:wxgpt@qq.com    ICP备案/许可证号:豫ICP备2024104334号-2