You are to write your own versions of strcpy() and strlen
(). Call them mystrcpy() and mystrlen(). Write them first
as code within main(), not as functions, then, convert them
to functions.

You will pass two arrays to the function in the case of
mystrcpy(), the source and target array.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

difference between my-strcpy and strcpy ?

3 Answers   Geometric Software, IIM, Infosys,


2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }

1 Answers   Wipro,


Explain how do you list a file’s date and time?

0 Answers  


Is there a way to switch on strings?

0 Answers  


write a method for an array in which it can display the largest n next largest value.

1 Answers   Value Labs,


What is the Lvalue and Rvalue?

2 Answers  


What are the two types of functions in c?

0 Answers  


What kind of structure is a house?

0 Answers  


int far *near * p; means

0 Answers   Honeywell,


7. Identify the correct argument for the function call fflush() in ANSI C: A)stdout B)stdin C)stderr D)All the above

10 Answers   Accenture,


what is data structure?

5 Answers   CBSE,


What is else if ladder?

0 Answers  


Categories