answersLogoWhite

0

Write a c program to copy the string without using strcpy?

Updated: 8/20/2019
User Avatar

Wiki User

10y ago

Best Answer

use strcat, strncpy, stpcpy, sprintf, strlen+memcpy, etc

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a c program to copy the string without using strcpy?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a Program to convert decimal number into hexadecimal no without using function and string?

This is not a question.


Write a program convert a string from uppercase to lower case and vice-versa without using string tolower and string toupper commands in TCL?

[ string toupper $str ] or [ string tolower $str ]


How do you write a program in C to check whether a word is a palindrome or not?

It is a simple program. i think u may understand it :#include#include#includevoid main(){char s[10]=answers.com;char x[10];int a;clrscr();strcpy(x,s);strrev(s);a=strcmp(s,x);if(a==0){printf("the entered string is palindrome");}else{printf("the entered string is not palindrome");}output:given string is not palindrome


Write c program to print palindrome using string without using strrev strlen strcam?

sdfdg


Write a program to implement the various operations on string such as length of string concatenation reverse of a string copy of a string to another in VB?

what is string


Write a program to concate the string without using strconcat function?

If you don't need to preserve the first string you could just iterate over the second string and copy each character onto the end of the first string, then return that


Write a function for concatnating the string s1 s2 and storing the result in string s3?

char *strmerge (char *s3, const char *s1, const char *s2) { strcpy (s3, s1); strcat (s3, s2); return s3; }


Write a program in java to display a string message using Servlets?

i dont no string for servlate


Write a program to find the length of a string in shellscript?

This is an assignment not a question.


Write the program in Linux to find the reverse of any string?

i am sam


How do you write a c program to find a word in a string?

what is if(!(str[i]==32))


Write a java program to count the space from the given line?

.... String line = "This is example program with spaces"; String[] tokens = line.split(" "); System.out.println(tokens.length-1); .......