The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
105 views

asked in Programming by Active (2.1k points) | 105 views

1 Answer

0 votes

Answer :  C

for 1d array there is only two possible way to pass 

1 fun(int a[])

2 fun(int *a)

for 2d array see the given link:

http://www.geeksforgeeks.org/pass-2d-array-parameter-c/

for 3d array:

there is two way

1 fun(int (*a)[value][value])

2 fun(int a[][value][value])

 

 

 

answered by (371 points)


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

29,017 questions
36,844 answers
91,373 comments
34,720 users