如何将2D数组传递给函数 [英] How to pass 2D array to function

查看:62
本文介绍了如何将2D数组传递给函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我把这个问题作为一项任务-------->


编写一个C程序来传递一个二维数组(两个字符和整数)一个功能?


提前感谢大家...................

ambrnewlearner

Well, I got this question as an assignment-------->

Write a C program to pass a 2D array (of characters and integers both) to a function?

Thanks in advance to everyone...................
ambrnewlearner

推荐答案


嗯,我把这个问题作为一项任务-------->


编写一个C程序将2D数组(字符和整数)传递给函数?


提前感谢大家...... ...............

ambrnewlearner
Well, I got this question as an assignment-------->

Write a C program to pass a 2D array (of characters and integers both) to a function?

Thanks in advance to everyone...................
ambrnewlearner



将2 d数组传递给函数时你应该传递数组以及数组的大小。

但是你在这个上做了什么尝试

Raghuram


When passing a 2 d array to a function then you should pass the array as well as the size of the array.
But what did u try anything on this
Raghuram



将2 d数组传递给函数时,应该传递数组以及数组的大小。


?? ? ?????????但是你在这个上做了什么尝试


Raghuram
When passing a 2 d array to a function then you should pass the array as well as the size of the array.

???????????? But what did u try anything on this

Raghuram



__________________________________________________ _____

你是什么?意思是:但是你在这个上做了什么尝试


ambrnewlearner

__________________________________________________ _____

__________________________________________________ _____
What do you mean by : "But what did u try anything on this"

ambrnewlearner
__________________________________________________ _____


我是问,你有没有为此写任何代码?


Raghuram
I was asking , did u write any code for this?


Raghuram


这篇关于如何将2D数组传递给函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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