0
Please find compilation error in it .
In the code a string is taken using different data types and print their outputs . https://code.sololearn.com/c1oeyte23cGo/?ref=app
4 Answers
+ 4
A few I noted in the code, you:
- Declared char x[7] twice, the second is when you try to assign value of <note> into <x>.
- Attempt to assign a string <note> into char array <x>, compiler refused this.
- Forgot to define type of i in for loop, it should've been for(int i ... instead of for(i ...
Hth, cmiiw
0
oh. thanks
0
one more problem . Please solve .