Answer Posted / ashik
#define swap(a,b) a^=b^=a^=b;
Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
Can a variable be both static and volatile in c?
What does the && operator do in a program code?
How can you check to see whether a symbol is defined?
Is anything faster than c?
Can the size of an array be declared at runtime?
What is c language in simple words?
What is structure in c explain with example?
When would you use a pointer to a function?
Difference between goto, long jmp() and setjmp()?
Explain what are binary trees?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
Explain what is the benefit of using const for declaring constants?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
What is the purpose of scanf() and printf() functions?
What happens if you free a pointer twice?