파라미터parameter

전달인자

public int Average(int [] arrA)
{
}
public int Average (int a, int b, intc)
{
}

전달되는 값이 파라미터임
파라미터를 ref로 전달하면 call by reference
c언어에서 포인터(*)나 레퍼런스(&)로 전달하는거나 마찬가지임

개수는 뭐 필요하면 계속 늘릴 수 있음... 몇개까지 되나는 모르겠지만...

Leave a Reply

Your email address will not be published. Required fields are marked *

 characters available