View Single Post
Light Poster
23Mar2009,08:46  
gamodg's Avatar
Thanks for the reply.

I made the following changes.

PHP Code:
void addValue(char *info,char *value )
{
        
int size=strlen(value)+1;
        
info= (char *)malloc(size);
        
strcpy(info,value);

When i try to run it the program terminates abruptly.
Please help !!!