Explain the differences between private, public and protected and give examples.
No Answer is Posted For this Question
Be the First to Post Answer
What is the best ide for c++?
What is else syntax in c++?
What is the difference between = and == in C?
20 Answers Christ University, Intel,
. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?
Why c++ is faster than java?
A milk carton can hold 3.78 litres of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one litre of milk is $0.38, and the profit of each carton of milk is $0.27. Write a C++ program that prompts the user to enter the total amount of milk produced in the morning. Then display the number of milk cartons needed to hold milk, the cost of producing milk, and the profit for producing milk.
Explain about Garbage Collector?
class HasStatic { static int I; }; Referring to the sample code above, what is the appropriate method of defining the member variable "I", and assigning it the value 10, outside of the class declaration? a) HasStatic I = 10; b) int static I = 10; c) static I(10); d) static I = 10; e) int HasStatic::I = 10;
How const functions will be treated by compiler?
Is eclipse good for c++?
What is an undefined behavior and sequence points
tell me about yourself ?i want answer for frehers with various exasmples?