naniigadu pokiri wrote:thanks for your responses Hari and tom, but what is the use of it, if it always print the statements below to it.
The general rule is semicolon(;) completes the statement. you started if loop and closed it by using semicolon..These is no special use together (i.e., condition and semicolon)(if(true);)