C++ Interview Questions
Questions Answers Views Company eMail

Explain why C++ is not purely Object Oriented Language

Aspire,

591

Explain about Searching and sorting algorithms with complexities

Accenture,

564

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

Accenture,

550

What is pass by value & reference.

Accenture,

572

What is static variable and difference between(const char *p,char const *p,const char* const p).

Accenture,

583

What are string library functions(syntax).

Accenture,

572

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

IBS,

688

CDPATH shell variable is in(c-shell)

Siemens,

608

dynamic scoping is

Siemens,

558

what is a pragma in C++?

Aspire,

637

what is the difference between a pointer and a reference?

Amazon, Blue Star, C DAC,

514

What is a class in C++?

Amazon, TCS, UGC Corporation,

574

What are the major differences between C and C++?

Amazon,

611

What is the purpose of a constructor? Destructor?

Amazon,

724

How can you force the compiler to not generate them?

Amazon,

575


Un-Answered Questions { C++ }

Explain the difference between C and C++.

610


Can I uninstall microsoft c++ redistributable?

611


Can a program run without main?

633


What is pure virtual function?

633


How are the features of c++ different from c?

596






What do you mean by “this” pointer?

619


What is a manipulator in c++?

717


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

640


What is oops with example?

566


Name the operators that cannot be overloaded in C++?

587


Difference between pointer to constant and constant pointer to a constant. Give example.

652


What does int * mean in c++?

641


total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.

2084


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

416


Do class declarations end with a semicolon?

604