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
swap 2 numbers without using third variable?
Explain what is output redirection?
explain what are actual arguments?
can we change the default calling convention in c if yes than how.........?
What does char * * argv mean in c?
What is the difference between scanf and fscanf?
Simplify the program segment if X = B then C ← true else C ← false
What is the most efficient way to store flag values?
What are operators in c?
What are types of functions?
Explain how does free() know explain how much memory to release?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
What are the different categories of functions in c?
In C language, a variable name cannot contain?
Explain the use of keyword 'register' with respect to variables.