C++ Interview Questions
Questions Answers Views Company eMail

Write a C++ program to conduct an election of a mayor.Declare a class ELECTION With the following specification: Data member: Name 25 character Age Integer symbol 1 character Member functions: To accept data for 20 contestant To accept symbol as voting from 100 voters. To declare the winner and the loser.

Global Academy, Infotech,

1 11800

explain the concepts of oops?

1 3674

what is object oriented programming and procedure oriented programming?

3 8282

what is function over loading?

5 6289

Differences between inline functions and non-inline functions?

Ness Technologies,

4 27041

what is the application of oops?

IBM,

8 45761

What is the difference between C++ and java?

Atos Origin,

6 11537

What is nutshell in programming language?

Satyam, Tech Mahindra,

1 12374

Can java compiler skips any statement during compilation time?

1762

write a program to demonstrate,how constructor and deconstructor work under multilevel inheritance

TCS,

3 11783

Enter n no. of element and delete value from desire position

1 2951

DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING.

5 11415

write the code that display the format just like 1 2 1 3 2 1 4 3 2 1 5 4 3 2 1 6 5 4 3 2 1

5 5894

What does the keyword "static" mean?

TCS,

4 6557

What is the different between Applet and Application?

2 4346


Un-Answered Questions { C++ }

Explain terminate() and unexpected() function?

620


Define Virtual function in C++.

617


Define an Abstract class in C++?

504


How to demonstrate the use of a variable?

639


How come you find out if a linked-list is a cycle or not?

567






Explain virtual destructor?

668


Write about the use of the virtual destructor?

602


Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.

608


What are the three main types of variables?

597


Is c++ a difficult language?

570


What are stl algorithms?

617


Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes

577


What are pass by value and pass by reference?what is the disadvantage of pass by value?

507


What is set in c++?

653


How would you use the functions sin(), pow(), sqrt()?

736