- 1
What's need to complete this code?? Output string = 1st half string1 + 1st half string2 + 2nd half string1+ 2nd half string2
1 Answer
+ 1
G'day mate.
conio is deprecated & should not be used.
gets is also to be avoided, use fgets(target, quantity, source);
You are declaring the same variables over & over. Once declared, you can reset them to zero without declaring them again. j = 0;
You are doing the same thing many times, why not make your for loop code into a function?