STL (140)
OOPS (873)
C++ General (2409) 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 12662write a program to demonstrate,how constructor and deconstructor work under multilevel inheritance
TCS,
3 13215
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
What is the difference between the parameter to a template and the parameter to a function?
Explain class invariant.
What is iterator in c++?
What does h mean in maths?
What is an inclusion guard?
What are the symptoms of stl?
What's the order in which the objects in an array are destructed?
Define virtual constructor.
What is ios :: in in c++?
Why is it called c++?
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
What are the advantages of c++? Explain
What is the benefit of encapsulation?