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 COPY ONE STRING IN OTHER STRING
#include stdio.h>
#include conio.h>
int copy(char a[],char b[]);
void main()
{
char a[100],b[100];
int i;
clrscr();
printf("ENTER THE FIRST STRING: ");
gets(a);
printf("ENTER THE SECOND STRING: ");
gets(b);
copy(a,b);
getch();
}
int copy(char a[],char b[])
for(i=0;a[i]!='\0';i++)
a[i]=b[i];
a[i]='\0';
printf("THE FIRST STRING IS COPY AND PUT INTO B= %s",a);
OUTPUT :
ENTER THE 1 STRING: KAMLESH
ENTER THE 2 STRING: MENGAR
THE FIRST IS COPY AND PUT INTO B = MENGAR
why is count function used in c''
C Program to check PRIME NUMBERS main() { int i,k,r,flag; clrscr(); printf("ENTER THE NO. TO CHECK IT IS PRIME OR NOT: ");
F r i e n dly Function: A class can have public members and private members. The public member can be used through the class using dot operator. Where as private me
How does placing some code lines between comment symbols help in debugging the code? - Placing comment symbols /* */ around a code separates some code that coder believes might
pls say code for this above..
how to do 2, 4, 8 associativity
C Program to check FACTORIAL main() { int i,j,m,fact,sum=0; clrscr(); printf("ENTER THE NO.: "); scanf("%d",&m);
C program to demonstrate call by reference: void disp(int *,int*,int*,int*); void main() { int a=2,b=3, sum,mul; printf("Enter 1st n
2 flowcharts, pseudocode for each (at least 4 algorithms), and code for either a stack or a queuestion..
program and solution for the above question
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