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

What is const keyword in c?

0 Answers  


Does c have function or method?

0 Answers  


Why does this code crash?

0 Answers  


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

0 Answers   Wilco,


the data type used for unlimited value in c and how to do this program

1 Answers  






int *p=20; if u print like dis printf("%d",p); o\p:- 20; how is it possible? plz give me the explanation.

15 Answers   Global Edge,


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

0 Answers   IBM, Wipro,


int main() { int days; printf("enter days you are late"); scanf("%d",days); if (days<=5) printf("5o paisa fine"); if (days<=10&&days>=6) printf("1rs fine"); if(days>10) printf("10 rs fine"); if(days=30) printf("membership cancelled"); return 0; } tell me whats wrong in this program? is it right?

2 Answers  


Explain what is the difference between far and near ?

0 Answers  


what r callback function?

1 Answers  


O,T,T,F,F,S,S,E,N,?,?,?,T,F,F,S,S,E,N

9 Answers   ADP,


What is dynamic variable in c?

0 Answers  


Categories