answersLogoWhite

0

"end" is not a keyword. Due to this site won't allow you to type in punctuation in the question, I assume "}" be the end [of a loop].

Take a deep breath: continue means go to } of the loop body. Yeah, GO TO, and } of a loop means "ready for the next iteration (indexing changing, condition checks, depends of the type of the loop) then GO TO { [of the corresponding } ]

So, the difference is the codes between the continue statement to this } are not executed when continue is used. If continue is placed right before the end of the loop, then there is no difference at run time, but you may have "[WTH] is this statement doing here?!" from the readers of the code!

Example:

// skip printing "Yes" for every even time

for (int i = 1; i <= 50; i++)

{

if (i % 2 == 0) continue; // skip to end

printf("Yes\n"); // not executed if continue is being carried out

} // end

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is the difference between wheel loader and front end loader?

Difference between Front End Loader and Wheel Loader


What is the difference between end-user systems and organizational systems?

the difference between end user system and organisational system


What is the difference between B.com and B.com CA?

the difference is that it has CA at the end of it


What is the conceptual difference between IP and end-to-end protocols?

jjj


Why is there an infinite number of prime numbers?

Numbers never end. You can always continue to add another digit to a number and make it larger. Because this is the case, you can continue to look forward forever for prime numbers. The difference/distance between the numbers may grow, but prime numbers will continue to appear.


What is the difference between end and Stop statement in c language?

There is no end or stop statement in C. You probably mean exit() and abort() function calls. The difference is that abort() terminates immediately, whereas exit() executes any functions passed to at_exit or at_quick_exit before terminating.


Difference between had and had been?

one has been on the end


What is the difference between 3.5 and 3.50?

There is no difference. 0s on the end of the number do not change the value.


What is the difference between the east end and the west end?

one is east and one is west.obviously...


What is the difference between the beginning the middle and the end of a paragraph?

the subject


What is the difference between a line and a line segment?

Yes there is a large difference between the two. A line has no end and a line segment ends.


What is the difference between one end continuous slab and both end continuous slab?

nothing