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
Program is to create a file student.dat: Program is to create a file student.dat which contains all name, roll_no,marks(5 sub) and percentage class student {
how to write
program to write superposition of waves using class and objects
What if one forget the [] when deleteing array allocated through new T[n]? A: All life comes to a disastrous end. It is the programmer's responsibility not the compiler's to
write a program to find the area under the curve y=f(x) between x=a & x=b
Why PHP is sometimes called as embedded scripting language? PHP is a high level language that is used to allow users to write and understand it in human readable form and also
write a program which has three classes
Question: (a) (i) Explain how class members can be accessed when using objects of the class. Use a suitable example to illustrate your answer. (ii) Explain how the privat
What's the order that objects in an array are destructed? Need assistance please explain it with example.
use of header files
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