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
Question 1: (a) Describe the following objects and condition states: (i) ifstream and ofstream objects (ii) eof(), fail(), bad() and good() functions. (b) Write a C++ pr
A: Use std::ios::binary. Some operating systems differentiate among text and binary modes. In text mode, end-of-line sequences and perhaps other things are translated; in binary
Program is to perform all the functions that are performed in a super bazaar: class stock { private: int itno; char itname[20]; char brname[20];
Described virtual destructor?
exemples of many to many
There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that
Question: (a) A bank has four types of accounts with annual interest rates as follows: Savings 8% Savings with Cheque Book 5% Current 4% Fixed deposits 10% Using
We are now quite happy to use the basic mathematical expressions, however in engineering we use scientific functions i.e Sin , Cos , ln etc . Within C we have the following functi
how made a flow chart of prime number by using for loop
Explain about the String Constants in c language? A collection of characters included within a pair of double quotes is treated as string constant. The character may be numbers
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