How do you master coding?
No Answer is Posted For this Question
Be the First to Post Answer
What is the use of volatile keyword in c++? Give an example.
Define a nested class. Explain how it can be useful.
How much is size of struct having 1 char & 1 integer?
If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];
What are formatting flags in ios class?
What is difference between array and vector in c++?
When the design recommends static functions?
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.
What are the two types of polymorphism?
3- Write a program to find larger and smaller of the two numbers.
What are the differences between public, private, and protected access?
12 Answers IBM, Oracle, Wipro,
Can constructor be static in c++?