Logo

Find errors (if any) in the following program and rewrite it: #define (studio,h) float main < > int m [ ] [ ] = {{ 1,2,3,4}}; for (i = 4, I>=0 ; i--)…

BIT C Programming · 2077 · Solved Question with Answer

Find errors (if any) in the following program and rewrite it:

   #define (studio,h)
   float main < >
   int m [ ] [ ] = {{ 1,2,3,4}};
   for (i = 4, I>=0 ; i--)
   for (j=0, j <4; j++);
   m [i] [j] = a[i][j] + b[i][j];
   return 0. 0;
   }

Solution

Please login to view the answer.