subject

Art 1: Write a function about string copy, the strcpy prototype "char* strcpy (char* strDest, const char* strSrc);". Here strDest is destination string, strSrc is source string. 1) Write the function strcpy, don't call C string library. 2) Here strcpy can copy strSrc to strDest, but why we use char* as the return value of strcpy?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:00
Which part of the cpu accepts data?
Answers: 1
question
Computers and Technology, 22.06.2019 20:10
Assume that minutes is an int variable whose value is 0 or positive. write an expression whose value is "undercooked" or "soft-boiled" or "medium-boiled" or "hard-boiled" or "overcooked" based on the value of minutes. in particular: if the value of minutes is less than 2 the expression's value is "undercooked"; 2-4 would be a "soft-boiled", 5-7 would be "medium-boiled", 8-11 would be "hard-boiled" and 12 or more would be a "overcooked".
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
What is estimated time of arrival (eta)? a device that measures the acceleration (the rate of change of velocity) of an item and is used to track truck speeds or taxi cab speeds a gps technology adventure game that posts the longitude and latitude location for an item on the internet for users to find a north/south measurement of position the time of day of an expected arrival at a certain destination and is typically used for navigation applications
Answers: 3
question
Computers and Technology, 23.06.2019 12:30
How is the brightness of oled of the diaplay is controled
Answers: 1
You know the right answer?
Art 1: Write a function about string copy, the strcpy prototype "char* strcpy (char* strDest, const...
Questions
question
Mathematics, 24.02.2021 02:30
question
Mathematics, 24.02.2021 02:30
question
Mathematics, 24.02.2021 02:30
Questions on the website: 13722367