can someone please explain me about continue and break....
@hba please...
Sure
A break statement terminates the execution of an ongoing statements. For example:switch case,for/while,if/else
A continue statement does the same job but it does not terminate the program but it goes to the next step or statements,The next loop,or the next switch statements in place :p
cant you explain it to me graphically?
When you say graphically what do you mean? With an example you mean? Well you can go check out the documentation on the internet.
Some diagrams here: http://www.tutorialspoint.com/cprogramming/c_break_statement.htm http://www.tutorialspoint.com/cprogramming/c_continue_statement.htm
Thanks @e.mccormick & @hba!
Join our real-time social learning platform and learn together with your friends!