The call by value is used in c and the changes made to the variables of the callled function are not reflected back to the calling function .....however call by refrence uses addresses and pointers and the changes made to the variables in the called function are reflected back to the calling function
Open your command prompt
give the path as in your system as c:javabinjdk1.6
then write javac filename.java
then java filename