C Programming - Declarations and Initializations - Discussion

Discussion Forum : Declarations and Initializations - Yes / No Questions (Q.No. 1)
1.
Is there any difference in the following declarations?
int myfun(int arr[]);
int myfun(arr[20]);
Yes
No
Answer: Option
Explanation:
Yes, we have to specify the data type of the parameter when declaring a function.
Discussion:
11 comments Page 2 of 2.

Kruthika said:   6 years ago
@Venkat, Thanks.


Post your comments here:

Your comments will be displayed after verification.