what is the difference between strcpy() and memcpy() function?
Answer Posted / manoj
memcpy can copy null bytes also if the size of memory is
given
strcpy stops after the first null byte.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain how can you check to see whether a symbol is defined?
What are examples of structures?
what is the difference between 123 and 0123 in c?
With the help of using classes, write a program to add two numbers.
What is a structural principle?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
When should the const modifier be used?
How can I sort a linked list?
How do you redirect a standard stream?
What are the 4 data types?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
Why we use int main and void main?
how can f be used for both float and double arguments in printf? Are not they different types?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What is the difference between a free-standing and a hosted environment?