What is wrong with the following for statement?
for(i=0; j=0, i<10; ++i, j += i) {
k += i*i + j*j;
}
B and D.
Commas are used to separate statements within the initialization and iteration parts of a for statement.
Semicolons are used to separate the initialization, loop condition, and iteration parts of the for statement.