+ 2
I found definition for the block "A block is a sequence of zero or more statements enclosed by curly braces"but I don't get it
I need help
6 Respuestas
+ 3
sequence of zero means an empty block as said by @John Wells
+ 2
thanks alot , I appreciate that
+ 2
sequence of zero or more statements means
a block may be an empty or else it may consists of statements i.e., a block consists of zero statements or it may consists of one or more statements
+ 1
This is a block with zero statements.
for (int i = 0; i < 10; i++) {}
This one has 3 statements.
for (int i = 0; i < 10; i++) {
int i2 = i*2;
int i3 = i*3;
int i6 = i2*i3;
}
0
what do you want to know??
0
"sequence of zero " what is the meaning