0

Does

void function(int *parameter){}

do the same thing as

void function (int parameter[]){}

? And could the first one also be used to pass in variable pointers not arrays? Kind of confused.

ShadowRanger
  • 143,180
  • 12
  • 188
  • 271
qwert
  • 331
  • 2
  • 12
  • So you searched STACKOVERFLOW and found nothing about it? You are the first one ever to have this question? :/ – gsamaras Nov 16 '16 at 22:58
  • Didn't find anything specifically comparing these two. Maybe I didn't do enough searching? – qwert Nov 16 '16 at 22:59
  • 1
    Prbably, but it's okay, [this answers your question](http://stackoverflow.com/questions/14309136/passing-arrays-to-function-in-c), next time be more careful! :) – gsamaras Nov 16 '16 at 23:00

0 Answers0