View Single Post
  #9 (permalink)  
Old 04-27-2007, 11:55 PM
levent levent is offline
Senior Member
 
Join Date: Dec 2006
Posts: 748
levent is on a distinguished road
Quote:
Hello!
If e1 = 5 and e2 = 8 before the following lines has been executed what values will they have afterwards.
The lines are: int t = e1;
e1 = e2;
e2 = t;

Create a program that shows the new values of e1 and e2

Your code should work. What is the problem?
Reply With Quote