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
Which control loop is recommended if you have to execute set of statements for fixed number of times?
Tell me about low level programming languages.
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
What's the difference between constant char *p and char * constant p?
What is assert and when would I use it?
How do I round numbers?
Is python a c language?
Differentiate between full, complete & perfect binary trees.
what is the different bitween abap and abap-hr?
What is a stream in c programming?
What is conio h in c?
What does %d do in c?
how should functions be apportioned among source files?
What tq means in chat?
Is there a way to switch on strings?