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.
1 11800write a program to demonstrate,how constructor and deconstructor work under multilevel inheritance
TCS,
3 11783
Explain terminate() and unexpected() function?
Define Virtual function in C++.
Define an Abstract class in C++?
How to demonstrate the use of a variable?
How come you find out if a linked-list is a cycle or not?
Explain virtual destructor?
Write about the use of the virtual destructor?
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.
What are the three main types of variables?
Is c++ a difficult language?
What are stl algorithms?
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
What are pass by value and pass by reference?what is the disadvantage of pass by value?
What is set in c++?
How would you use the functions sin(), pow(), sqrt()?