zoukankan      html  css  js  c++  java
  • strcat

    将两个char类型链接。
    char d[20]="GoldenGlobal"; char *s="View"; strcat(d,s);
    结果放在d中
    printf("%s",d);
    输出 d 为 GoldenGlobalView (中间无空格)
    d和s所指内存区域不可以重叠且d必须有足够的空间来容纳s的字符串。
    返回指向d的指针
  • 相关阅读:
    spoj705
    bzoj2440
    spoj220
    bzoj2301
    hdu1695
    poj3294
    hdu3518
    poj3693
    函数
    样式
  • 原文地址:https://www.cnblogs.com/to-creat/p/5643732.html
Copyright © 2011-2022 走看看