Get Started
930

Q: How would you use the function memmove()?

  • उत्तर देखें
  • Workspace

Answer :
Explanation :

#include "mem.h" #include "alloc.h" main() {       int area;       char *dest;       char src[] = "Life is the camera and you are the target"                                   "so keep smiling always";       area = sizeof (src);       dest = malloc (area);       memmove (dest, src, area);       printf("\n%s", dest);       printf("\n%s",src); }

सबसे विस्तृत एग्जाम तैयारी प्लेटफार्म

Examsbook Prep ऐप आज ही प्राप्त करें