int x;
Is this declaration or 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 a declaration. So is it a definition ?