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 accept different goods with the number, price and date of purchase and display them
What is masking?
What is a static variable in c?
What are header files? What are their uses?
What are the different categories of functions in c?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
What is the difference between struct and typedef struct in c?
What are the main characteristics of c language describe the structure of ac program?
What is a pointer and how it is initialized?
What do you mean by invalid pointer arithmetic?
What do header files do?
What are the features of c languages?
Why isnt any of this standardized in c?
write a program to rearrange the array such way that all even elements should come first and next come odd
Is that possible to store 32768 in an int data type variable?