3,684 views
3 votes
3 votes
Which of the following function singatures are correct for passing a two dimensional array A of 10 rows and 10 columns to a function xyz() in C?

There should not be any compiler error or warning when you do so.

 

A. xyz(int A[])

B. xyz(int *A[])

C. xyz(int A[][10])

D. xyz(int A[10][])

1 Answer

Related questions

2 votes
2 votes
1 answer
1
rsansiya111 asked Dec 8, 2021
878 views
Suppose we do merge sort with a three-way split: divide the array into 3 equal parts, sort each part and do a 3 way merge.What would the worst-case complexity of this ver...