Copying a Value from One Variable to Another - C++ Language Basics

C++ examples for Language Basics:Variable

Description

Copying a Value from One Variable to Another

Demo Code

#include <iostream>

using namespace std;

int main()/*from  w w w.  j  a  va  2  s  .c  om*/
{
  int start = 50;
  int finish;

  finish = start;

  cout << finish << endl;
  return 0;
}

Result


Related Tutorials