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 the difference between ‘g’ and “g” in C?
What is wrong in this statement? scanf(“%d”,whatnumber);
Can we declare variables anywhere in c?
Write a program to generate the Fibinocci Series
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
What is the size of enum in c?
What are the different categories of functions in c?
Which is the memory area not included in C program? give the reason
Explain how can I manipulate strings of multibyte characters?
Why & is used in c?
Explain null pointer.
Explain how can I pad a string to a known length?
What is #line?
what are # pragma staments?
How do I convert a string to all upper or lower case?