10092
来源:互联网 发布:算法的概念一等奖ppt 编辑:程序博客网 时间:2024/05/16 09:14
//编写函数void copy(char str1[],char str2[])实现将第二个串复制到第一个串中
#include<stdio.h>
void copy(char *str1, char *str2)
{
while(*str1++ = *str2++);
}
void main()
{
char s1[] = "abcd";
char s2[5];
copy(s2, s1);
printf("%s\n", s2);
}
#include<stdio.h>
void copy(char *str1, char *str2)
{
while(*str1++ = *str2++);
}
void main()
{
char s1[] = "abcd";
char s2[5];
copy(s2, s1);
printf("%s\n", s2);
}
0 0
- 10092
- UVA 10092 The Problem with the Problemsetter
- UVa 10092 The Problem With the Problem Setter ( SAP )
- UVa Problem 10092 The Problem With the Problem Setter (命题者的难题)
- uva 10092 The Problem with the Problem Setter 二分图匹配 匈牙利算法
- UVA 10092 The Problem with the Problemsetter【二分图最大匹配变形 邻接矩阵实现最大匹配算法】
- 10.8
- Linux下socket TCP的简单例子
- 几种常见计算机图像处理操作的原理及canvas实现
- AJAX的基本应用方法
- 进制转换器(用顺序栈实现)(可实现简单的二进制或八进制或十进制的转换)
- 10092
- 调参
- sdwebimage框架
- Caffe:Windows(64位)+VS2013下的Caffe(CPU Only)安装配置
- Linux 下使用sendmail搭建邮件服务器
- [LeetCode]371. Sum of Two Integers
- java实现单词倒序输出
- linux 信号signal和sigaction理解
- ios单例GCD实现方法