Answer Posted / vijay r15
#include<stdio.h>
Void main()
{
int a=10,b=20;
a=a+b-(a=b);
// or use temp var
//or use a^=b^=a
//or use a=a+b;b=a-b;a=a-b;
printf("%d%d",a,b);
}
Any dbt mail to raj.vijay55@gmail.com
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Can we use visual studio for c?
What should malloc() do?
What is break in c?
What is define c?
What are c identifiers?
If I have a char * variable pointing to the name of a function ..
What is meant by operator precedence?
What are the three constants used in c?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
Place the #include statement must be written in the program?
What is #pragma statements?
What is merge sort in c?
how do you execute a c program in unix.
What is the difference between formatted&unformatted i/o functions?
What is function in c with example?