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; }
4 Answers
+ 1
i have C but doctor took me this code to turn it to C
Can u help me
Martin Taylor
+ 1
Thanks Martin Taylor â€