C++
strcpy()
Copies string s2 into string s1.
Syntax:strcpy(s1, s2);
Example:#include
#include
using namespace std;
int main ()
{
char str1[10] = "Hello";
char str3[10];
// copy str1 into str3
strcpy( str3, str1);
cout << "strcpy( str3, str1) : " << str3 << endl;
return 0;
}
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 120 / 158779969. Delta: 0.02001 с