Question: What is wrong with this piece of code? Is it stylistic or substantial? char s[MAXARR]; n=0; while (c=getchar () !=-1) s [n++]=c;
What is wrong with this piece of code? Is it stylistic or substantial? char s[MAXARR]; n=0; while (c=getchar () !=-1) s [n++]=c;
Step by Step Solution
There are 3 Steps involved in it
Answer Heres the corrected code with both stylistic ... View full answer
Get step-by-step solutions from verified subject matter experts
