1.

Find the syntax error(s), if any in the following program; Rewrite the code after making the correction.int sum;value;incr;int I;for(i= =0,i<=10,i+ + )sum+=i;incr++;

Answer»

int sum, value, incr;

int I;

for ( i=0; i<=10; i++)

sum+=I;

incr++;



Discussion

No Comment Found

Related InterviewSolutions