Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created July 4, 2021 06:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save amankharwal/46d8e07b4c14443b2e0f1793758cd98a to your computer and use it in GitHub Desktop.
Save amankharwal/46d8e07b4c14443b2e0f1793758cd98a to your computer and use it in GitHub Desktop.
#include<iostream>
using namespace std;
int main(){
int a, b, c;
a = 5;
b = 10;
c = a;
a = b;
b = c;
cout<<"The value of a is : "<<a<<endl;
cout<<"The value of b is : "<<b<<endl;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment