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 is the hardest programming language?
write a progrmm in c language take user interface generate table using for loop?
Why is c used in embedded systems?
What is a nested loop?
Why we write conio h in c?
How can I list all of the predefined identifiers?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
What are the types of functions in c?
How do you print an address?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
What is a double c?
What is an array in c?
What is substring in c?
Why can’t constant values be used to define an array’s initial size?
how to create duplicate link list using C???