Jun 16 2006 12:56 PM 3340 8 char *s2 = "world";char *s3 = strcat(s1, s2);Please provide me explainations??"> what is wrong with the following c prog??char *s1 = "hello";char *s2 = "world";char *s3 = strcat(s1, s2);Please provide me explainations?? Poonam dasam Profile Answers by dasam Questions by dasam Mar 31st, 2007 Friends, the return value of strcat is not void, it is char*. please see the below line ..char * strcat(char * s1, const char * s2);Thanks :) UMESH RAM Sep 7th, 2006 HI ARTHUR , i m agree with ur ans.strcat doesn't return any char datatypeand constant string cant change its value. Answer Question Select Best Answer
Jun 16 2006 12:56 PM 3340 8 char *s2 = "world";char *s3 = strcat(s1, s2);Please provide me explainations??"> what is wrong with the following c prog??char *s1 = "hello";char *s2 = "world";char *s3 = strcat(s1, s2);Please provide me explainations?? Poonam dasam Profile Answers by dasam Questions by dasam Mar 31st, 2007 Friends, the return value of strcat is not void, it is char*. please see the below line ..char * strcat(char * s1, const char * s2);Thanks :) UMESH RAM Sep 7th, 2006 HI ARTHUR , i m agree with ur ans.strcat doesn't return any char datatypeand constant string cant change its value. Answer Question Select Best Answer
dasam Profile Answers by dasam Questions by dasam Mar 31st, 2007 Friends, the return value of strcat is not void, it is char*. please see the below line ..char * strcat(char * s1, const char * s2);Thanks :)
UMESH RAM Sep 7th, 2006 HI ARTHUR , i m agree with ur ans.strcat doesn't return any char datatypeand constant string cant change its value.