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


Please Help Members By Posting Answers For Below Questions

What is the difference between ‘g’ and “g” in C?

2481


What is wrong in this statement? scanf(“%d”,whatnumber);

713


Can we declare variables anywhere in c?

563


Write a program to generate the Fibinocci Series

648


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

1887






What is the size of enum in c?

605


What are the different categories of functions in c?

631


Which is the memory area not included in C program? give the reason

1487


Explain how can I manipulate strings of multibyte characters?

767


Why & is used in c?

694


Explain null pointer.

610


Explain how can I pad a string to a known length?

632


What is #line?

594


what are # pragma staments?

1615


How do I convert a string to all upper or lower case?

618