44.what is the difference between strcpy() and memcpy()
function?
45.what is output of the following statetment?
46.Printf(“%x”, -1<<4); ?
47.will the program compile?
int i;
scanf(“%d”,i);
printf(“%d”,i);
48.write a string copy function routine?
49.swap two integer variables without using a third
temporary variable?
50.how do you redirect stdout value from a program to a file?
51.write a program that finds the factorial of a number
using recursion?
Answer Posted / siyaoberoi
44. strcpy() copies only string.it doesnt copy the memory
location.memcpy() copies the memory location of the string.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is structure data type in c?
What do you mean by c?
Explain how do you list a file’s date and time?
please explain every phase in the "SDLC" in the dotnet.
What does c in a circle mean?
How are 16- and 32-bit numbers stored?
Explain data types & how many data types supported by c?
What is the difference between scanf and fscanf?
Hai what is the different types of versions and their differences
Explain how can you determine the size of an allocated portion of memory?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
What is the difference between class and object in c?
Why is c so important?
How does selection sort work in c?
What is double pointer?