for loop - Unknown "for" statement (C) -


I came across this as browsing through a foreign code:

 for  ( i = 0; i   

The following code is valid

  for (i = 0; i & lt; len; i ++, j ++);   

and is equal to

 for  (i = 0; i   

which is equivalent to

  // Note- There is no Jammu after i ++; For (i = 0; i   

So there is no need to write J in your statement. Jammu has written for you (Statement), there is no function in it. Therefore, this program can be left without being effective.

Note- The following codes are valid and do not give any errors, but this is meaningless.

  10;    

Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -