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 SELECT THE CHAR WHICH U WANT
#include stdio.h>
#include conio.h>
void main()
{
void substr(char[], int *, int *);
int a,b;
char ch[20];
clrscr();
printf("ENTER THE STRING: ");
gets(ch);
printf("\nENTER THE POSITION: ");
scanf("%d",&a);
printf("\nEnter The Length: ");
scanf("%d",&b);
substr(ch,&a,&b);
getch();
}
void substr(char ch[20],int *s, int *t)
int i;
for(i=*s;i<(*t+*s);i++)
putchar(ch[i]);
OUTPUT :
ENTER THE STRING : KAMLESH
ENTER THE POSITION: 2
ENTER THE LENGTH: 3
MLE
#C Why don''t online compilers support the header file? What can I do to resolve this? PS. I have tried , does''nt work either. Thannk in advance.
for object, malloc allocates memory in heap however doesn't invoke object's constructor to initialize the object. new allocates memory & also invokes constructor to initialize the
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b
pseudo code
Write a sequence of instructions that transfers data from memory to an external I/O device by using channel 3 of the 8237 DMA controller. Transfer from 20000H-20FFFH.
It''s that spooky time of year when the dead walk the Earth, things go bump in the night, and the Centers for Disease Control (CDC) recognizes the need for zombie preparedness (
At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes
create a program to populate the first array then the odd number is the second array and get the sum of the second array.
Define The Return Statement in Computer Programming? The return statement is used for two purposes once the return statement is executed the program control will be immediately
A: They are following: Const: point out that memory once initialized, must not be modify through a program. Volatile: denote that value in the memory location can be modified
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: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd