"Evangelista Sami" a �crit dans le message de news:5f59677c.0402260600.3c27ad66@posting.google.com... > hello > > i have this program : [snip] > I thought that, as I and J were passed by references, when i call E > with the > same variables, I and J denote the same object. so i was expecting to > get 100 in output. > If someone had a clear explanation i would be very thankful. I and J are elementary types, thus passed by copy. 6.2(3). -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr