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;
}
Explain demand paging.
Write a program to print a (*)pattern programming (A to Z) in capital in one programming ?
what are the general concepts of c and c++
How can I recover the file name given an open stream?
Why static is used in c?
How important is structure in life?
get any number as input except 1 and the output will be 1.without using operators,expressions,array,structure.don't print 1 in printf statement
Differentiate between a for loop and a while loop? What are it uses?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
What is function prototype?
How can a program be made to print the line number where an error occurs?
How can I manipulate strings of multibyte characters?