|
From: Jan M. <jan...@vo...> - 2007-06-06 17:08:15
|
Hello,
I would like to ask what is wrong on the following:
...
int *i;
*i = 1;
printf ("%d", *i);
...
As I read in
Brian W. Kernighan, Denis M. Ritchie it should work.
But anyway in my program it prints nothing.
If I delete the line
*i = 1;
it works properly.
I am on XP Professional with Dev-Cpp.
Thanks
Jan Mura
jan...@vo...
|