C++ Interview Questions
Questions Answers Views Company eMail

What is a c++ map?

664

Can java be faster than c++?

672

Is java made in c++?

586

Is c++ high level programming language?

681

What does new do in c++?

639

What is java and c++?

666

What is linked list in c++?

695

What is c++ hash?

624

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

606

What is c++ mutable?

707

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.

635

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.

703

Tell me about virtual function

1 544

Can we call C++ OOPS? and Why

277

Can we provide one default constructor for our class?

284


Un-Answered Questions { C++ }

What is the best way to declare and define global variables?

705


i wanted to know about questions about c,c++ , which is required for placements.... im a fresher

1704


What is setbase c++?

627


What is the difference between a type-specific template friend class and a general template friend class?

564


Write a program to generate the Fibonocci Series in C++.

550






What is polymorphism oop?

624


What is the advantage of oop over procedural language?

630


What do you know about Volatile keyword in C++? Explain with an example code.

553


Write a program that ask for user input from 5 to 9 then calculate the average

688


Why cout is used in c++?

568


Why can’t you call invariants() as the first line of your constructor?

564


draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

2867


What is inheritance in oop?

605


What is a c++ class?

625


Explain the volatile and mutable keywords.

617