Posted by: sojodude August 2, 2005
Information technology
Login in to Rate this Post:     0       ?        
Arch, I still get the runtime error. Sorry by link I meant runtime. This is what I had. char* p; char* q; p = (char*)malloc(6); q = (char*)malloc(6); q = "abcde"; while(*p=*q) { p++; q++; } char* r; r = p; cout << "\nNew p is: " << r << "\n";
Read Full Discussion Thread for this article