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
A name clash happens when a name is described in more than one place. For example, two dissimilar class libraries could give two different classes the similar name. If you try to u
C Program for FUNCTION OF COUNT THE INTEREST float si(float,float,float); void main() { float p=0,r=0,n=0,k=0; clrscr(); printf("E
Create a user-defined data structure (struct) called Node that represents a node within a linked list where the "data" stored in each node is a pointer to a Car object. a) Wr
Can you overload a function depend only on whether a parameter is a value or a reference? A: No. Passing by value and reference looks identical to the caller.
Logical Operators We say any expression that evaluates to zero is a FALSE logic condition and that evaluating to non-zero value is a TRUE condition. Logical operators are usefu
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.
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
Primarily the term alignment refers the tendency of an address pointer value to be a multiple of some power of two. Thus a pointer with two byte alignment contains a zero in the le
Unlike C++, other programming languages have associative arrays that allow array indices to be strings instead of just integers. You are to create a template class, SVector, that i
The game of hangman may have originated in the Victorian era, and involves trying to guess a word by suggesting letters. The game is played as follows: A word is chosen and the pl
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