write a program to swap Two numbers without using temp variable.
Answer Posted / harika
main()
{
int a=2,b=3;
a^=b^=a^=b;
printf("%d,%d",a,b);
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does d mean?
#include
What are 3 types of structures?
What is indirection in c?
What's the difference between constant char *p and char * constant p?
What is ponter?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
How does #define work?
What functions are in conio h?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What do you mean by a sequential access file?
explain what is fifo?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What is identifiers in c with examples?
What is the difference between test design and test case design?