Write a program to print the swapping in two no and using
three variable.
Answer Posted / anshuman jha
#include<iostream.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
cout<<"Enter the two different no :";
cin>>a>>b;
cout<<"After swapping :"<<a<<b;
c=a;
a=b;
b=c;
cout<<"Before swapping :"<<a<<b;
getch();
}
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
How is stl different from c++ standard library?
Define stl.
What is a standard template library (stl)? What are the various types of stl containers?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
write a program to convert a decimal number in to its equivalent binary number?
Who created stl?
When did c++ add stl?
Is there any error below, its a code to delete all entires from a map #include
totoo po ba ang manga aliens!
What is meant by stl in c++?
Name the different types of stl containers.
How connect plc and pc through software
What is a list in c++ stl?
help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase