Contact Us

Contact Us :  Codezclub provides Solved Programming Codes for C , C++ Programming, Data Structures, Java Programming, with Detailed Description and Latest Technology Updates.

CodezClub is one of India’s fast-growing websites for Programming Codes. We are constantly trying to serve you a better experience in learning. If you have any queries or doubts, you can contact us here. We shall reach out to you shortly.

If you have any business inquiries or any discussions to make, feel free to contact us.

3.8 5 votes
Article Rating
Notify of
Newest Most Voted
Inline Feedbacks
View all comments

Define a class Student. Inherit it into engineering, arts, commerce, and science students. Inherit engineering student into computer science, electronics and communication, and information technology student. Provide constructors for all the classes. Now define a virtual function display() for displaying the details for all classes in their respective classes using the same base class pointer (a pointer to student). Now, use the virtual function to access the electronics and communication object. It can be seen that without any pointer casting, the base class pointer can access the derived class object using virtual function

A Raghavendra Reddy

anyone please tell the answer for this question

Abdul moiz

collection of positive integers that are entered by the user from the keyboard.your program shuold prompt the user to enter each integer followed by the return key,and to enter “-1″at the end of the list of integers to be added.Note that there is no need to store list of integers:you can keep track of the sum as the user is entering the values.
Modify your code so that the code terminates if the sum of integers entered upto that point exceeds 100.
(C++ language)


Create a base class called user to represent a user in an application. Include data members name (string) and password (string) in class user. Derive two classes from user to represent two different kinds of user : admin and normal user. Class admin needs a new data member to store phone number (integer) of administrator. Include a member function called authenticate() in class user. Keep this function pure virtual in base class but override it to perform specific authentication procedure for both derived classes. Define appropriate constructors in all these classes to initialize data members of created objects such that… Read more »


void main()


int i = 2, j = 1, x;

X = ++i + ++j – –j – –i;

printf(“x=%d i=%d j = %d”, x, i, j);


I need output of the Program.
In Turbo its different but online compiler its different.


You are required to write a C++ program using Classes or Structs to fulfil one of the client briefs listed below. You only need to write a program for one of the client briefs, the choice is up to you. Client Brief 1: BMI Calculator A local health clinic wants a simple to use application that can keep track of multiple patients Body Mass Index (BMI) measurements. The application should be able to: Add a new patient with their Name, Phone number, email, Initial weight & Height List the patient’s names, phone numbers & email addresses. Update the weight for… Read more »


can anyone help me out please