well Thanks Corny..
I think its a really simple thing but gettin complicated out of no where. tell me if am correct in this program?
The above program simply prints the value of -3%2. isnt there any class or method that i need to defien here like main method in java which actually triggers evruthing..
The actuall output should be -1 but its showing 1 only. Can you analyse what went wrong here ?
Second ques? what is the abnormal behaviour we might see in printing the value of -3%2 in languages like Java, c/C++ or Perl ??