Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C Program for FUNCTION OF MERGE
#include conio.h>
#include stdio.h>
char cot(char a[],char b[]);
void main()
{
char a[50],b[50];
clrscr();
printf("ENTER THE FIRST STRING: ");
gets(a);
printf("ENTER THE SECOND STRING: ");
gets(b);
cot(a,b);
getch();
}
char cot(char a[],char b[])
char p[50]; int i,j;
for(i=0;a[i]!='\0';i++)
p[i]=a[i];
p[i]=' ';
for(j=0;b[j]!='\0';j++)
p[i+j+1]=b[j];
p[i+j+1]='\0';
printf("%s",p);
OUTPUT :
ENTER THE 1 STRING: KAMLESH
ENTER THE 2 STRING: MENGAR
KAMLESH MENGAR
how do i write a c++ program that will input a number and output its factorial using the while loop
Aim: To implement a program to swap two numbers using reference arguments. Code: void swap(int *a, int *b) { int temp; temp=*a;
Assume variables x, f, and d are of type int, float, and double, respectively. Their values are arbitrary, except that neither f nor d equals +∞, -∞, or NaN . For each of the fo
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
Question Write a program using c++ for the above function , at a= 1000, b=10 -3 ,10 -2 ,10 -4
c program for pepple merchant
Write a C program "team.c" that maintains information for a soccer team. The program will allow you to add and delete players from your team, to search your team for players by nam
C Program for Palindrome Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
Define the Relational Operator in c language? The Relational operators refer to the relationships that values can have with one another and they are used to compare two operand
railway reservation
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd