how to add two string in c
hi all ,
i want to two add two sting so this give me a url in this format:-
for this i have written this code in "test.c"
int main ( int argc, char *argv )
if ( argc != 3 ) /* argc should be 2 for correct execution */
printf( "usage: %s filename", argv );
//printf("enter ip address");
printf("remote ip is %s\r\n",remote ip) ;
compile: gcc test.c -o test
run : ./test 10.114.5.0 single.txt
now plz tell me what are line i should add in this code.i have tryed by strcat but it is returning string in some bad format.
plz help me its very urgent...