answersLogoWhite

0


Best Answer

mystrcpy (char* dest, char* src) {

while ((*dest++ = *src++) != '\0);

}

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write a C program to copy to strings using pointers?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a c program to copy two strings using pointers?

nahi malum


How to write a C program to find largest 2 numbers using pointers?

program to find maximum of two numbers using pointers


How do you write c program to perform sum of elements of matrix using pointers with functions?

i cant write


Write a program to illustrate the usage of pointers with arrarys and functions?

* * * * * * * * * * write the c++ program and show me brifily?


Write a sample program using ASPNET explaining all the syntax and semantics of the program?

write a sample program using asp.net explaining all the syntax and semantics of the program


Write a program in 'C' language to accept 6 strings as input and print them in lexicographic?

(ab)*b


How do you write Square program using vb?

write a vb program to find the magic square


How do you write the factor strings using exponents for 8x8x8x8x8?

8 = 23 85 = 215


Write Client and server program in C language using UDP?

Write and run a client and a server program in C-language using UDP


How do you write a c program to convert binary to decimal by using while statement?

write a c++ program to convert binary number to decimal number by using while statement


Write a program that read phrase and print the number of lower-case letter in it using function of counting?

write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program


Write a program By using if else statement to read a number and check whether it is positive or negative?

write a c++program by using if statement to read a number and check whether it is positive or negative