C++ Interview Questions
Questions Answers Views Company eMail

What is a c++ map?

651

Can java be faster than c++?

659

Is java made in c++?

573

Is c++ high level programming language?

666

What does new do in c++?

627

What is java and c++?

654

What is linked list in c++?

681

What is c++ hash?

607

What are the important differences between c++ and java?

592

What is c++ mutable?

692

Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

616

Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

685

Tell me about virtual function

1 532

Can we call C++ OOPS? and Why

261

Can we provide one default constructor for our class?

272


Un-Answered Questions { C++ }

What is encapsulation in ict?

593


What is the basic concept of c++?

568


Explain Memory Allocation in C/C++ ?

624


What is the use of turbo c++?

545


What is std :: endl?

587






How can you link a c++ program to c functions?

613


What are the new features that iso/ansi c++ has added to original c++ specifications?

574


What it is and how it might be called (2 methods).

649


What is the difference between global int and static int declaration?

397


write a programme to get a character and thier ASCII value

2588


When is the destructor called?

598


Explain the advantages of inheritance.

662


Explain the operation of overloading of an assignment operator.

682


Why null pointer is used?

573


What are the vectors in c++?

574