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 REVERSE THE STRING
#include stdio.h>
#include conio.h>
#include string.h>
void main()
{
char name[30];
char *s;
int i,len;
clrscr();
printf("ENTER THE STRING: ");
gets(name);
len=strlen(name);
s=&name[len-1];
for(i=len-1;i>=0;i--)
putchar(*s);
s--;
}
getch();
OUTPUT :
ENTER THE STRING : KAMLESH
HSELMAK
when a class is defined the compiler will not allocate memory. This is true only for data member not for member function. As soon as the member function is defined the require
Question 1 Create a class String which stores a string value. Overload ++ operator which converts the characters of the string to uppercase (toupper() library function of "ctype.h
Write a program to calculate the timetable for numbers 1 -> 10 and display them as follows. Your solution should use for do loops #include stdio.h void main() { char p
Ques.Implement a c/c++ program to find a shortest path between two nodes in a network?network should be taken as an adjacency matrix.
Dynamic Initialization of objects: It is initializing the objects by passing the valued to the constructor from the user input or other means. Through cin operator a value
A: Provide a friend operator class Base { public: friend std::ostream& operator ... protected: virtual void printOn(std::ostream& o) const; }; inline std::ostr
write a class player that contains attributes for player name,avg and team.write three functions to input,change and display these attributes.also write a constructor that asks for
Explain a class to model a banking system. The function members should allow initializing the data members, a query to facilitate for account and a facility to deposit and with
Describe about the container class. -Class to hold objects in external storage or memory. It acts as a generic holder. - It has a predefined behaviour and a known interface.
what are objects or simply define objects
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