Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

code for concatination of 2 strings with out using library
functions?

Answer Posted / chavidi

void main()
{
char a[20],b[20];
int i,j,k;
gets(a);
gets(b);
i=strlen(a);
k=i+strlen(b);
j=0;
while(i<=k)
{
a[i]=b[j];
i++;
j++;
}
printf("Resultant String is %d :",a);
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2864


Explain how can you restore a redirected standard stream?

1095


What is boolean in c?

1088


What are the valid places to have keyword “break”?

1086


How to write a multi-statement macro?

1038


Define Array of pointers.

1101


how to build a exercise findig min number of e heap with list imlemented?

2071


How do you print only part of a string?

1014


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

1790


What is the use of extern in c?

1092


Difference between macros and inline functions? Can a function be forced as inline?

1263


What is derived datatype in c?

1088


If errno contains a nonzero number, is there an error?

1362


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2773


Explain what is the difference between #include and #include 'file' ?

1018