Ok i have tried this and I know I am doing something wrong but I cant fig out what for the life of me..this is prob totally wrong
#include <iostream>
using namespace std;
int main()
{
char A[4]="abc";
char B[4]="def";
char C[7];
for( int i=0;i<=4;i++ )
C[i] = A[i];
for( i=0;i<=4;i++ )
C[i+4] = B[i];
cout <<C <<endl;
return 0;
}