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
How to create struct variables?
What is a double c?
What is this infamous null pointer, anyway?
given post order,in order construct the corresponding binary tree
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What is an auto variable in c?
What is sizeof return in c?
What are the functions to open and close file in c language?
Why do we use int main instead of void main in c?
What is fflush() function?
Explain the use of bit fieild.
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
What is 2c dna?
Write a program to identify if a given binary tree is balanced or not.