Code:
class C
{
  static int f1(int i)
  {
    System.out.print(i+",");
    return 0;
  }

public static void main(String [] args)
  {
    int i=0;
    i=i+++f1(i);
    System.out.print(i);
  }
}
output of this code is 1,0
plz explain how?

Last edited by shabbir; 25Feb2008 at 09:24.. Reason: Code block - http://www.go4expert.com/forums/misc.php?do=bbcode#code