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
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
Why is extern used in c?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
Which one would you prefer - a macro or a function?
how to construct a simulator keeping the logical boolean gates in c
What is the right type to use for boolean values in c?
What is the meaning of ?
What are pointers really good for, anyway?
What is data structure in c language?
Write a program to check armstrong number in c?
Why c is a mother language?
Is c still used?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
Is main an identifier in c?
What is self-referential structure in c programming?