swap two integer variables without using a third temporary
variable?
Answer Posted / vignesh1988i
the best way what i choose is that : if x=89 , y=-88
x^=y^=x^=y;
this line will swap the above numbers......
thank u
| Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
how should functions be apportioned among source files?
How to draw the flowchart for structure programs?
pierrot's divisor program using c or c++ code
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What is the default value of local and global variables in c?
What does *p++ do?
What is #line in c?
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 ?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
Explain what’s a signal? Explain what do I use signals for?
What does main () mean in c?
In which language linux is written?
When is a void pointer used?
What is a pointer in c?