Pages

Monday, April 21, 2025

CStrings Functions in C++ (Strcat)

 #include <iostream>

#include <cstring>

using namespace std;



int main()

{

    char str1[100] = "abc";

    char str2[100] = "xyz";

    strcat(str1, str2);

    

    cout << str1 << endl;

    cout << str2 << endl;

    return 0;

}

No comments:

Post a Comment

how to become red on codeforces by Errichto Algorithms | explained simply in a blog

 Yes. I found an available transcript of the video and summarized it simply. The video is “How To Become Red Coder? (codeforces.com)” by Err...