C++ Interview Questions
Questions Answers Views Company eMail

How to input string in C++

391

If class D is derived from a base class B

291

Define an Abstract class in C++?

500

How to reverse a string in C++

343

How to convert integer to string in C++

372

How to run C++ program in cmd

356

What is bool in C++

360

How to generate random numbers in C++ with a range?

399

Consider the following C++ program

341

Is deconstructor overloading possible? If yes then explain and if no Then why?

1 498

What is the difference between virtual functions and pure virtual functions?

1 598

Can we call a virtual function from a constructor?

1 493

Can we use THIS Pointer in static function – Reason in C++?

330

Factory Method C++ – How to delete pointers returned by it

340

What are issues if we mix new and free in C++?

293


Un-Answered Questions { C++ }

What is the use of endl in c++?

586


Tell me can a pure virtual function have an implementation?

548


Define namespace in c++?

643


What is abstraction in oops with example?

764


Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement

624






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

577


Difference between Call by pointer and by reference.

539


Define whitespace in C++.

742


Whats is abstraction in oops?

584


When to use “const” reference arguments in a function?

574


Why are pointers not used in c++?

621


How do you decide which integer type to use?

570


Which programming language is best?

541


What is helper in c++?

563


Is swift a good first language?

582