我如何将2个排序数组加入一个数组? [英] how can i join 2 sorted array into one array?

查看:77
本文介绍了我如何将2个排序数组加入一个数组?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在指针的帮助下将2个排序的数组加入到c中的一个数组中?

how can i join 2 sorted array into one array in c with the help of pointer??

推荐答案

到目前为止你应该尝试过一些东西。



正如您所要求的那样,这里有很多:搜索结果 [ ^ ],前2:

合并两个C程序已排序的数组 [ ^ ]

将大小为n的数组合并到另一个大小为m + n的数组中 [ ^ ]



学习,尝试并实施。
You should have tried something so far.

As you asked for pointers, here are lot: Search result[^], top 2:
C program to merge two sorted arrays[^]
Merge an array of size n into another array of size m+n[^]

Learn, try and implement.

这篇关于我如何将2个排序数组加入一个数组?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆