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
Explain what is the benefit of using #define to declare a constant?
How to get string length of given string in c?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
I have seen function declarations that look like this
Write a simple code fragment that will check if a number is positive or negative.
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
what is the role you expect in software industry?
What is the use of volatile?
If fflush wont work, what can I use to flush input?
Write program to remove duplicate in an array?
What is the difference between malloc() and calloc()?
What does the message "automatic aggregate intialization is an ansi feature" mean?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
what are bit fields in c?
What are directives in c?