Declarations and Initializations

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

A Yes

B No

ANS:A - Yes

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



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.