When :
if(n%i==0){
return false;
}
if this condn is true then where will the loop terminate and in lecture bhaiya said that if the condn is true the controls goes to again main function ,please explain
About the return false statement
@mayurjhode55,
when you write return
anywhere in the function definition, the program control returns to the function, from where this function was called, in this case the main function.