in Programming
289 views
1 vote
1 vote

in Programming
289 views

1 Answer

1 vote
1 vote

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])