Why is it legal to create a char pointer and assign it a value and not to do the same thing with a int pointer.
I know that when you declare a pointer you must tell it were to point, therefore the second line should give a compiler error but why doesn´t it generate an error on the first line???
Thx in advanceCode:char *name="Smith"; int *number = 25;//Generates an error