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

What is a list in c?

781


Explain what is dynamic data structure?

866


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

868


What is an identifier?

794


An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array

889


What is a MAC Address?

814


What will be your course of action for a push operation?

834


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

807


What is wrong with this program statement? void = 10;

1015


Explain function?

856


What are the disadvantages of c language?

844


difference between Low, Middle, High Level languages in c ?

1841


When a c file is executed there are many files that are automatically opened what are they files?

804


What is the time and space complexities of merge sort and when is it preferred over quick sort?

867


Explain what is the use of a semicolon (;) at the end of every program statement?

945