What is this weird colon-member (" : ") syntax in the constructor?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is a class template?

0 Answers  


What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack

0 Answers  


Explain polymorphism?

0 Answers  


what is the C++

1 Answers   Wipro,


If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?

0 Answers  






Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02

0 Answers  


What is a string example?

0 Answers  


Explain Memory Allocation in C/C++ ?

0 Answers   Infosys,


How to allocate memory dynamically for a reference?

0 Answers  


What is function overriding?

1 Answers  


What are virtual constructors/destructors?

0 Answers  


How many pointers are required to reverse a link list?

5 Answers   CTS,


Categories