0

what is wrong?

/*Example of Mixed-Style, concat*/ #include <stdio.h> #include <string.h> int main() { char str[x]= "high"; char y[]= "school"; char z[]= {'w','a','s','\0'}; char *p = "good"; string s= x+y+' '+z+" very"+" "+p+'!'; cout<<"s="<<s<<endl; cout<<"s="+s<<endl; }

11th Dec 2019, 11:40 PM
Esraa Hamdino
Esraa Hamdino - avatar
4 Respuestas
+ 1
i have C but doctor took me this code to turn it to C Can u help me Martin Taylor
12th Dec 2019, 1:25 PM
Esraa Hamdino
Esraa Hamdino - avatar
+ 1
Thanks Martin Taylor
16th Dec 2019, 12:05 AM
Esraa Hamdino
Esraa Hamdino - avatar