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]);
int myfun(int arr[]);
int myfun(arr[20]);
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.
Sravan said:
1 decade ago
What is meant by data type?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers