Check out example codes for "semicolong after for() loop stackoverflow". It will help you in understanding the concepts better.

Code Example 1

for (i=0;i<5;i++);
 {
     printf("hello\n");
 }

Learn ReactJs, React Native from akashmittal.com