This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
this program is giving me an error relating to storage class ,if we are using atatic in place of auto then also it is giving me an error,can somebody please explain me why i m getting an error in both the cases and how can i solve this error,thanks
posted 2 years ago
Hopefully, you're not planning on using "_" as a variable name.
Paramters to functions can't accept "auto" or "static" as modifiers. You can solve your problem by not using those modifiers. This code is correct:
... though it still uses that terrible variable name.