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 STRING ADDRESS
#include stdio.h>
#include conio.h>
#include string.h>
void main()
{
char *name;
int length;
char *ch=name;
clrscr();
printf("ENTER THE STRING: ");
gets(name);
while(*ch!='\0')
printf("%c IS SORTED AT ADDRESS %u\n",*ch,ch);
ch++;
}
length=ch-name;
printf("\nLENGTH OF THE STRING IS %d\n",length);
getch();
OUTPUT :
ENTER THE STRING : KAMLESH
K IS SORTED AT ADDRESS 928
A IS SORTED AT ADDRESS 929
M IS SORTED AT ADDRESS 930
L IS SORTED AT ADDRESS 931
E IS SORTED AT ADDRESS 932
S IS SORTED AT ADDRESS 933
H IS SORTED AT ADDRESS 934
Q: But MFC appear to encourage the employ of catch-by-pointer; should I do the similar? A: Depends. If you're utilizing MFC and catching one of their exceptions, by all means, d
Aim: To implement a program to convert time in 24 hour format to 12 hour format. Code: #include #include #include class time24 {
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
Is it possible to pass an entire structure to functions? Yes, it's possible to pass an entire structure to a function in a call by method style. Some programmers prefer to decl
Write a function that takes an array as the argument and returns the second largest element. Bonus (+5): Write a function that takes an array and a number n as arguments and return
Write in a file: void main() { int i,j,k,l,list[1000]; FILE *fp; char any[8]; cout cin >> any; fp = fopen(any,"wb"); for(j=0;j {
HOW CAN WE EASLY LEARN C++
(a) Verify the values of the resistors with the following colour coding: (i) red-red-orange-silver (ii) orange-orange-black-blue-green (b) What is the value of a resistor
how yo use the friend function?
write the program to accept date and to say valid or invalid
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