Here is the code.
int main(int argc, char *argv[])
{
char name[5];
printf("%s\n",name);
system("PAUSE");
return 1;
}
The printf function outputs ©. Why does it use that character? In difference instances other characters are used. I'm trying to understand more about how memory works in C.
Cheers :)
EDIT - Thanks everyone. All your answers were very useful to me.