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
What are the advantages of Macro over function?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
please explain every phase in the "SDLC" in the dotnet.
In a header file whether functions are declared or defined?
Explain the array representation of a binary tree in C.
What oops means?
What does typedef struct mean?
What is #include stdio h and #include conio h?
How can a program be made to print the line number where an error occurs?
How can I remove the leading spaces from a string?
What will the preprocessor do for a program?
Explain what does a function declared as pascal do differently?
Tell us bitwise shift operators?
What is "Duff's Device"?