how to copy a string without using c function

Answer Posted / valli

sorry
after for loop it is not
s[i]=s2[i]
but
correct one is
s2[i]=s[i];

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how are 16- and 32-bit numbers stored?

788


What are terms in math?

597


Why is a semicolon (;) put at the end of every program statement?

632


What is optimization in c?

572


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

677






Is it possible to initialize a variable at the time it was declared?

763


When do we get logical errors?

642


What is the use of bitwise operator?

694


what is the difference between 123 and 0123 in c?

729


Why do we use int main instead of void main in c?

626


Explain the difference between the local variable and global variable in c?

606


What is function pointer c?

589


What is the use of typedef in c?

594


What is meant by errors and debugging?

652


Explain what are multidimensional arrays?

607