int x;
Is this a declaration or a definition?
As I write the following code,
#include <stdio.h>
int main(void)
{
int x;
printf("%p",&x);
return 0;
}
it prints some address. So as memory is allocated, int x;
can't be just a declaration. So is it a definition?