what is the purpose of the following code, and is there any
problem with the code?
void fn(long* p1, long* p2)
{ register int x = *p1;
register int y = *p2;
x ^= y;
y ^= x;
x ^= y;
*p1 = x;
*p2 = y;
}
Why is malloc used?
Differentiate call by value and call by reference?
Go through this linked list concept.While traversing through the singly linked list sometimes the following code snippet "while(head != NULL)" is used and other times "while(head->link != NULL)"is used(Here head is the pointer pointing to the first node,node has two parts data part and link part).What is the difference between head != NULL and Head->link != NULL and in which situation are they used?
What are high level languages like C and FORTRAN also known as?
Can you explain the four storage classes in C?
what is the difference between NULL & NUL keywords in C?
wap in c to accept a number display the total count of digit
A program to write a number of letters and numbers, such as counting and display
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
Where are some collections of useful code fragments and examples?
Why do we need functions in c?