Merging of two array | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Merging of two array

12345 678910 12345678910

29th Aug 2017, 6:36 AM
Ram Varma
Ram Varma - avatar
2 Answers
+ 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