C語言學習筆記之字符串拼接的2種方法——strcat、sprintf

本文爲原創文章,轉載請標明出處html 1. 使用strcat進行字符串拼接 #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { char *firstName = "Theo"; char *lastName = "Tsao"; char *name = (char *) mal
相關文章
相關標籤/搜索