GATE CSE
First time here? Checkout the FAQ!
x
0 votes
75 views

asked in Programming by Active (1.9k points)   | 75 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 (241 points)  


Top Users Jul 2017
  1. Bikram

    3782 Points

  2. manu00x

    2464 Points

  3. Debashish Deka

    1832 Points

  4. joshi_nitish

    1494 Points

  5. Arnab Bhadra

    1096 Points

  6. Arjun

    1054 Points

  7. Hemant Parihar

    1050 Points

  8. Shubhanshu

    972 Points

  9. Ahwan

    876 Points

  10. akash.dinkar12

    642 Points


23,953 questions
30,895 answers
70,108 comments
29,272 users