C Program : Goto statement with backward Jump Example

 #include <stdio.h>

int main() { int i = 1; loop_start: if (i <= 5) { printf("Iteration %d\n", i); i++; goto loop_start; // Backward jump to the label "loop_start" } return 0; }

Comments

Popular posts from this blog

Video Formats

Where video editing is used

File saving and folder management