नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'identifier' : incorrect storage class 'specifier'
Remarks
The storage class is not valid for the global-scope identifier. The default storage class is used in place of the invalid class.
Possible resolutions:
If the identifier is a function, declare it with
externstorage.If the identifier is a formal parameter or local variable, declare it with auto storage.
If the identifier is a global variable, declare it with no storage class (auto storage).
Example
The following example generates C2390:
// C2390.cpp
register int i; // C2390
int main() {
register int j; // OK
}