Answer to Question #150629 in C++ for Ken

Question #150629
Can someone assist me with my code that I wrote. I keep receiving syntax errors.

#include <iostream>
#include <string>
using namespace std;

int main()
{
void dostuff(char a[], char b[]);
void main(void); {
char s1[] = "SASAZAKI";
char s2[] = "HARUNA";
dostuff(s1, s2);
cout << s2 << endl;
}
void dostuff(char a[3], char b[2]); {
b[3] = b[1]; b[2] = a[4]; b[0] = a[0];
}
}

Would be greatly appreciated if someone can assist me.
1
Expert's answer
2020-12-11T18:43:01-0500
Dear Ken, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog