Question: What is the error in the following code? Aindude estdiohs void displey(char Di I int C for(i=0i1) Imt+ik%=2 1 a 1 b. 9 c 10



![1 int lengthaciac: while:sfj] 10 ) [length+*;i+*:] return flength: 1 int man0](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66da80b0b7ee5_82466da80b016127.jpg)



![plk t return 0 1 b. (2) c char c[6] " "CNo230";](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66da80b441fa3_82766da80b3a20c7.jpg)
What is the error in the following code? Aindude estdiohs void displey(char Di I int C for(i=0i1) Imt+ik%=2 1 a 1 b. 9 c 10 What is the enorin the following coid? int functioniday sti 1 int lengthaciac: while:sfj] 10 ) [length+*;i+*:] return flength: 1 int man0 tharc6=7CNO230 prints "Nod, functenics: retuine What is the errer in the following code? int function(char s(i) 1 int length =0,x= while yv=0) (lengthi**i,i*t) teturi lierght int mand 1 char ct6 = "CN C230 printi ind iunctiont plk t return 0 1 b. (2) c char c[6] " "CNo230"; stould te corrected as char q7] *" CNO230"; (1) 0. int functionichar sfli should te conec'ed as int furgtion(cher st6]) How many times the condition is checked? intk=10,m=0, while (k>1) (m++:k55=2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
