Q. | void *memcpy(void *destination,void *source,size_t count); #include
#include
main()
{
char str1[100] = "This is string";
char str2[100];
memcpy(str2,str1,14);
printf("str2 = %s\n",str2);
}
|
|||||||
|
Answer: | Option C | |
Explaination: | we gave 14 at the count(14),it copies 14 bytes.It gives the o/p is "This is string". |
Discussion
Your Comments Goes here... |
Name | Discussion |
---|