...
The user assumes to get the following output from the code:
Code Block |
---|
Inside for loop |
...
Inside for loop |
...
Inside for loop |
But unfortunately because of the semicolon
at the end of the macro definition, the for loop in the program has a null statement and then the statement "Inside for loop"
gets printed just once. Essentially, the semicolon
at the end of the macro definition changes the program control flow.
...