Can you please explain the difference between strcpy() and memcpy() function?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Write a C program to find the smallest of three integers, without using any of the comparision operators.

7 Answers   TCS,


What are the primitive data types in c?

0 Answers  


Why is c so important?

0 Answers  


What is the sizeof () operator?

0 Answers  


Give a fast way to multiply a number by 7

15 Answers   Accenture, Aricent, Microsoft,


What is page thrashing?

0 Answers  


main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); } what is the output?

10 Answers   Ramco,


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

0 Answers  


what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these

2 Answers   IBM,


How many types of operator or there in c?

0 Answers  


What is the significance of scope resolution operator?

0 Answers   Agilent, ZS Associates,


what is the disadvantage of using macros?

1 Answers   Wipro,


Categories