---
title: "Discussion on \"C++ and dsa\" | Hashnode"
description: "Discussion on \"C++ and dsa\". string copy , compare , concat question .  \n#include<iostream>#include<cstring>using namespace std;  \nint main() {   \n  char a[1000] = \"apple\";  char b[1000];  \n  // calc length  \n  cout << strlen(a) << endl;  \n  // strcpy  \n  strcpy(b,a);  cout << b..."
url: "https://hashnode.com/posts/c-and-dsa/63c656d6cf97d7522bf6a149"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [C++ and dsa](https://amankesharwani.hashnode.dev/c-and-dsa?utm_source=hashnode&utm_medium=feed)

string copy , compare , concat question . #include<iostream>#include<cstring>using namespace std; int main() { char a\[1000\] = "apple"; char b\[1000\]; // calc length cout << strlen(a) << endl; // strcpy strcpy(b,a); cout << b...

Jan 17, 2023 · 1 min read · amankesharwani.hashnode.dev  
Read the article

## Written by

[AMAN KESHARWANI](https://hashnode.com/@Amank)

@Amank

  
[View profile](https://hashnode.com/@Amank)

Full stack web developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
