P
Philipp Klaus Krause
Assume I have declared a function as follows:
void f(register int x);
does the storage clas specifier matter? I.e. does it have to be in all
declarations of the function?
Would it be ok to omit it in the definition:
int y;
void f(int x)
{
y = x;
}
What about the symmetric case:
void g(int x);
int y;
void f(register int x)
{
y = x;
}
Philipp
void f(register int x);
does the storage clas specifier matter? I.e. does it have to be in all
declarations of the function?
Would it be ok to omit it in the definition:
int y;
void f(int x)
{
y = x;
}
What about the symmetric case:
void g(int x);
int y;
void f(register int x)
{
y = x;
}
Philipp