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
Can I drop the [] while deleteing array of some built-in type (char, int, etc)? A: No. you can't Sometimes programmers think that the [] in the delete[] p only present so the
The Switch Construct The switch statement is a multi-way decision-making construct that tests an expression matches one of a number of constant values, and branches accordingly
i have a project in BDD(Binary Decision Diagram).. where i have to use BDD library...i m using cudd package which uses BDD technique...i download cudd package..try to run in vc++ 6
how to learn programming skills
A: (a) int foo = 123; (b) int bar(123);
What is the purpose of return values? Can you not return any values from a function? If you could what would he function look like?
Object Conversions Just like initialization, conversions are also done automatically when an object of a derived class is assigned to an object of the base class. Though, the c
what is the first thing I need to know about Programming?
Ask question #Miniasdasmum 100 words accepted#
Here is a short program. It prints out the value of a variable "x". Ernie and Bert disagree about what will be printed: Ernie says, the value gets changed in "changeX" so it will p
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