नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'identifier' : not in formal parameter list
Remarks
The identifier was declared in a function definition but not in the formal parameter list. (ANSI C only)
Example
The following example generates C2085:
// C2085.c
void func1( void )
int main( void ) {} // C2085
Possible resolution:
// C2085b.c
void func1( void );
int main( void ) {}
With the semicolon missing, func1() looks like a function definition, not a prototype, so main is defined within func1(), generating Error C2085 for identifier main.