cprog092.c
来自「关于福建省计算机二级VC的历年真题,希望对考生有所帮助。」· C语言 代码 · 共 22 行
C
22 行
#include<stdio.h>
int strcmp1(const char* str1,const char* str2)
{
/**/
/**/
}
void main()
{
int com;
char* ps1="uvwx",*ps2="uvwxyz";
clrscr();
com=strcmp1(ps1,ps2);
if(com>0)
printf("%s>%s",ps1,ps2);
if(com==0)
printf("%s=%s",ps1,ps2);
if(com<0)
printf("%s<%s",ps1,ps2);
getch();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?