hi guyz...
here's a pretty silly doubt that's been lingering fr a while..
why does the following code not work??
func()
{
char *s;
char a='x';
char b='y';
*s=a;
s++;
*s=b;
cout<<s;
}
the program comes to halt inappropriately on running the above...
can someone please explain the fault...