Merging of two array | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Merging of two array

12345 678910 12345678910

29th Aug 2017, 6:36 AM
Ram Varma
Ram Varma - avatar
2 Réponses
+ 2
#include <algorithm> ... int a[5], b[5], c[10]; ... copy(a,a+5,c); copy(b,b+5,c+5);
29th Aug 2017, 7:54 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar