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
What is the difference between exit() and _exit() function?
What is the size of array float a(10)?
Difference between exit() and _exit() function?
Dont ansi function prototypes render lint obsolete?
Why ca not I do something like this?
What are disadvantages of C language.
Tell me when would you use a pointer to a function?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
What is the benefit of using const for declaring constants?
Explain what is meant by 'bit masking'?
What is the difference between null pointer and wild pointer?
Write a program to identify if a given binary tree is balanced or not.
I need testPalindrome and removeSpace
#include
Is flag a keyword in c?
What are conditional operators in C?