int x;
Is this a declaration or a definition?
When I write the following code,
#include <stdio.h>
int main(void)
{
int x;
printf("%p",&x);
return 0;
}
he is typing some address. Since allocating memory int x;cannot be just a declaration. So is that definition?
source
share