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
write an algorithm to swap values without using third variable
What is the real function of class - to export data? No, Real purpose of a class isn't to export data. Instead, it's to provide services. Class provides a way to abstract behav
Asks the user for an integer. if the number is less than 21, ask them for a number again; repeat this until you get a number bigger than 20. 20 is not an acceptable number. Once yo
decleration
real time application of b tree
program with coding
Introduction: This assignment requires a knowledge of variables (integers, char types), loops, conditionals, switch, functions, char arrays, string arrays, number arrays, struc
Example for external storage class - computer programming? extern double sin (double); In a function prototype, for the sin() function its function definition ~ we can write
Write a c++ program that contain the following functions : 1) Function Quality_Point that takes one int argument (student_average) and return ‘A’ if the student_average between 90-
check this link: http://cactus.eas.asu.edu/partha/Teaching/430.2013/Project/proj-2.2013.htm
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