Write a program to exchange two variaables without temp
Answer Posted / kadher
void main()
{
int a=10,b=5;
a=a^b;
b=a^b;
a=a^b;
}
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Write a program to print ASCII code for a given digit.
What is null pointer in c?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What is default value of global variable in c?
What is #line in c?
What is assert and when would I use it?
What does %d do in c?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
Differentiate between ordinary variable and pointer in c.
What is a stream?
How many types of arrays are there in c?
Why do some versions of toupper act strangely if given an upper-case letter?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
How is actual parameter different from the formal parameter?