write a string copy function routine?

Answer Posted / ragu

if we compile in turbo c its showing error like this
in that above code we cant modify a const object in function str_cpy(const char *a,const char *b)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define a string?

658


What are the advantages of using Unions?

642


How do you list a file’s date and time?

636


What is structure pointer in c?

574


What is a nested loop?

652






What is size of union in c?

582


How can I automatically locate a programs configuration files in the same directory as the executable?

633


Explain the difference between getch() and getche() in c?

565


how to write optimum code to divide a 50 digit number with a 25 digit number??

2755


What is getche() function?

610


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

980


What are the restrictions of a modulus operator?

638


How can I access an I o board directly?

626


Discuss the function of conditional operator, size of operator and comma operator with examples.

681


Can 'this' pointer by used in the constructor?

615