answer the following
Attachments:
![](https://hi-static.z-dn.net/files/d5f/b975bff9a405af4485cc4f219640a672.jpg)
Answers
Answered by
1
This is a function prototype declaring the function getint(). The function takes as pointer to an int as a parameter.
When prototyping a function it is not necessary to specify the parameters' names.
The prototype is missing a return type, which for C then defaults to int. Omiting a return type however is violating the recent C standard, so code doing so could be considered invalid.
An equivalent to
getint(int *);
though would be
int getint(int * pi);
When prototyping a function it is not necessary to specify the parameters' names.
The prototype is missing a return type, which for C then defaults to int. Omiting a return type however is violating the recent C standard, so code doing so could be considered invalid.
An equivalent to
getint(int *);
though would be
int getint(int * pi);
Answered by
61
Explanation:
This is a function prototype declaring the function getint(). The function takes as pointer to an int as a parameter.
When prototyping a function it is not necessary to specify the parameters' names.
The prototype is missing a return type, which for C then defaults to int. Omiting a return type however is violating the recent C standard, so code doing so could be considered invalid.
An equivalent to
getint(int *);
though would be
int getint(int * pi);
Similar questions