- 1

What's need to complete this code?? Output string = 1st half string1 + 1st half string2 + 2nd half string1+ 2nd half string2

https://code.sololearn.com/cY8sOqqJqKyc/?ref=app

30th Apr 2022, 2:03 PM
SABBIR
SABBIR - avatar
1 Réponse
+ 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?
6th May 2022, 7:14 PM
HungryTradie
HungryTradie - avatar