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
Program to find a Greatest String: C - Program: Write a program find largest string by c program. int main( int argc, char *argv[] ) { if( argc {
Overloading a method (or function) in C++ is the ability for functions of the similar name to be defined as long as these methods have dissimilar signatures (different set of param
???
Binomial coefficients are the numeric factors of the products in a power of a binomial such as (x + y)n. For example, (x + y)2 = x2 + 2 x y + y2 has the coefficients 1 2 1. Binomia
Q: however shouldn't I always use a printOn() method instead of a friend function? A: No. The usual cause people wish to always use a printOn() method instead of a friend fu
2. a) Define a structure to store roll no, name and marks of a student. b) Using the structure of Q2. a), above write a ''C'' program to create a file "student.dat". There must be
Inheritance is the process of forming new classes, called derived classes, from existing classes or base classes. The derived class inherits all the capabilities of the base class,
P r i va t e Member Functions: A private member functions can be called by the members of the same class. Consider the following example. c l a ss sample
#pebblemerchant.h
pseudocode for gregorian calendar
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