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 / sachin patil
44. strcpy copy the string while memcpy copy the memory
contains of locations.
46.fffffff0
49. int a = 5;
int b = 10;
a = a+b;
b = a-b;
a = a-b;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are reserved words?
What are operators in c?
How can I change their mode to binary?
Is there sort function in c?
Explain what is dynamic data structure?
Describe the header file and its usage in c programming?
Write a program to check palindrome number in c programming?
How can I copy just a portion of a string?
What is a pointer in c?
What the different types of arrays in c?
How many data structures are there in c?
Why is c called a structured programming language?
What is a function in c?
What are the different properties of variable number of arguments?
What is the condition that is applied with ?: Operator?