adspace


What is strcpy() function?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

`write a program to display the recomended action depends on a color of trafic light using nested if statments

2218


write a c program to find the sum of five entered numbers using an array named number

2264


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1187


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

2406


How can I implement sets or arrays of bits?

1129


Do you know the difference between malloc() and calloc() function?

1144


Explain the difference between null pointer and void pointer.

1165


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2836


develop algorithms to add polynomials (i) in one variable

2269


Is int a keyword in c?

1067


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1306


write a progrmm in c language take user interface generate table using for loop?

2129


what is ur strangth & weekness

2598


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1363


How do you convert strings to numbers in C?

1351