1.

Which of the following lines should be added to complete the “if(op[k] == '&')” part of the above code?

A. True[row][col] += False[row][pos] * False[pos+1][col]; False[row][col] += t_row_pos * t_pos_col – True[row][pos] * True[pos+1][col];
B. True[row][col] += True[row][pos] * True[pos+1][col]; False[row][col] += t_row_pos * t_pos_col – True[row][pos] * True[pos+1][col];
C. True[row][col] += True[row][pos] * False[pos+1][col]; False[row][col] += t_row_pos * t_pos_col – False[row][pos] * True[pos+1][col];
D. True[row][col] += False[row][pos] * True[pos+1][col]; False[row][col] += t_row_pos * t_pos_col – False[row][pos] * True[pos+1][col];
Answer» C. True[row][col] += True[row][pos] * False[pos+1][col]; False[row][col] += t_row_pos * t_pos_col – False[row][pos] * True[pos+1][col];


Discussion

No Comment Found