• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

What is the difference between the memcpy() and strcpy() functions in C?

Knowledge Base
2
2
1.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    james_woody last edited by 27 Dec 2021, 02:43

    Is this is a true answer for this question?

    "The memcpy() function is used to copy a specified number of bytes from one memory to another. Whereas, the strcpy() function is used to copy the contents of one string into another.
    The memcpy() function operates on a memory instead of a value. Whereas, strcpy() function works on value, not memory."

    1 Reply Last reply Reply Quote 0
    • devansh-webkul
      devansh-webkul last edited by 27 Dec 2021, 03:59

      Is this thing relate with Bagisto?

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post