write a program to swap Two numbers without using temp variable.
Answer Posted / joshin
main()
{
printf("enter two number");
scanf("%d%d",&a,&b);
printf("swaped result is b=%d\na=%d",b,a);
}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How are pointers declared in c?
How can you check to see whether a symbol is defined?
What is scope rule in c?
Why does this code crash?
What are the two types of functions in c?
Why void is used in c?
When should a far pointer be used?
Why does the call char scanf work?
Explain how do you view the path?
What does do in c?
Explain is it better to bitshift a value than to multiply by 2?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
Explain the concept and use of type void.
how is the examination pattern?
How can variables be characterized?