What is strcpy() function?



What is strcpy() function?..

Answer / Babita Baghel

"The strcpy() function in C copies the string pointed to by src into an array pointed to by dest, terminating it with a null character. The original string is not modified."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

How to use c/c++ code in JAVA

10 Answers   CDAC, IBM, Satyam, Scope International,


Why doesnt that code work?

1 Answers  


What does char * * argv mean in c?

1 Answers  


what is the diference between pointer to the function and function to the pointer?

2 Answers   Infosys,


program to locate string with in a string with using strstr function

2 Answers   Huawei, Shreyas,


How is a macro different from a function?

1 Answers   Tech Mahindra,


6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1

4 Answers  


What is pointer & why it is used?

1 Answers  


main() { int i=400,j=300; printf("%d..%d"); }

13 Answers   ME,


what is c++ programming?

3 Answers   TCS,


What is difference between structure and union in c?

1 Answers  


Explain what is the difference between functions abs() and fabs()?

1 Answers  


Categories