Top

Discussion

Is there any difference in the following declarations?
int myfun(int arr[]);
int myfun(arr[20]);

  • A.Yes
  • B.No

Answer: A

Yes, we have to specify the data type of the parameter when declaring a function.

No comment is present. Be the first to comment.
Loading…

Post your comment