# Calling a c-function that returns a 2-dimensional array

**URL:** <https://discourse.julialang.org/t/calling-a-c-function-that-returns-a-2-dimensional-array/855>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [December 11, 2016, 4:24am UTC](https://discourse.julialang.org/t/calling-a-c-function-that-returns-a-2-dimensional-array/855 "2016-12-11T04:24:08Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![yuyichao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yuyichao/32/20_2.png) [@yuyichao](https://discourse.julialang.org/u/yuyichao)\
**Post date:** [December 14, 2016, 6:26pm UTC](https://discourse.julialang.org/t/calling-a-c-function-that-returns-a-2-dimensional-array/855/8 "2016-12-14T18:26:32Z")

</div>

> [@jameson](#):
>
> Declaring a C argument type as being , I believe, is a compiler extension (although probably part of the spec now), and isn’t actually part of the C ABI.

Passing array argument is actually mentioned on cppreference [Array declaration - cppreference.com](http://en.cppreference.com/w/c/language/array) and I just noticed that passing in multi dimensional array is actually also mentioned in there to, which is supported since c99.

---

_[View the full topic](https://discourse.julialang.org/t/calling-a-c-function-that-returns-a-2-dimensional-array/855)._
