int main (void)
char str = "hello";
char str1= "world";
I expected the above program to give "Application Error"
since str can hold only 9 characters, but we try to
have 10 chars (helloworld) after doing strcat. But to
my surprise the program ran successfully without any error. I used Microsoft visual c++ on win NT to test
this. Can you explain why it didn't give error?
b)Is it possible to use strcat for a variable that is
declared as char *x="test" using pointers (or)
is strcat always used with array of characters declared using  rather than character pointer.