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
what is difference between declaring the pointer as int and char in c language?
Find the largest number from the given 2 numbers without using any loops and the conditional operator.
How to reverse a string using a recursive function, without swapping or using an extra memory?
31 Answers Cisco, Mind Tree, Motorola, Ophio, Sony, TCS, Wipro,
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side?
How do you write a program which produces its own source code as its output?
Difference between macros and inline functions? Can a function be forced as inline?
0 Answers HAL, Honeywell, Zomato,
What is the use of volatile?
Why doesn't C have nested functions?
A array contains dissimilar element how can we count, and A array contains dissimilar element how can we store in another array with out repetition.
Can 'this' pointer by used in the constructor?
write a program that print itself even if the source file is deleted?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402