By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,829 Members | 1,798 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,829 IT Pros & Developers. It's quick & easy.

'parameter name omited' these error occured in my c program .plz help me how to sole

P: 1
hi


i am having a problem in my code
^
../src/array1.c: In function ‘display’:
../src/array1.c:34:1: error: parameter name omitted
void display(int d[], int)
^
make: *** [src/array1.o] Error 1

please tell me how should i fix it
May 22 '19 #1
Share this Question
Share on Google+
1 Reply


dev7060
P: 89
Idetifier names cannot be omitted in the function definition. However while declaring a function, only the number and types of arguments are required. So, it's optional there to mention the identifiers name.
May 23 '19 #2

Post your reply

Sign in to post your reply or Sign up for a free account.