difference between compile time error and runtime error with example