Page 1 of 1

Generate the three address code for the following code segment : for (i = 0; i < n; i++) for (j = 0; j < n; j++)

Posted: Mon May 09, 2022 6:19 am
by answerhappygod
Generate the three address code for the following code segment
:
for (i = 0; i < n; i++)
for (j = 0; j < n; j++)
c[j] = 0;
for (i = 0; i < n; i++)
for (j = 0; j < n; j++)
for (k = 0; k < n;
k++)
c[j] =
c[j] + a[k] * b[k][j];