Local variables in GNU C.
Code:
int some_function |
The second is anachronistic. Don't use it - *only* use the first version (variables declared *after* the block begins), and *only* use function prototypes (parameter names and types declared within "(...)", the function signature).
|
Thank you very much for the info. Good bye.
|
You're welcome.
If you want more info about "K&R-style function definition", here are two useful links: * http://stackoverflow.com/questions/1...-this-c-syntax * http://stackoverflow.com/questions/4...nition-problem The syntax was actually obsolete by the mid-1980's, and formally deprecated in the C89 standard. 'Hope that helps .. PSM |
All times are GMT -5. The time now is 01:44 AM. |