C++ and dsa
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...
amankesharwani.hashnode.dev1 min read