What is encapsulation in C++? Give an example.
No Answer is Posted For this Question
Be the First to Post Answer
What is the disadvantage of using a macro?
What are the 2 main types of data structures?
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?
How do you initialize a string in c++?
Explain storage qualifiers in c++.
Give a very good method to count the number of ones in a "n" (e.g. 32) bit number.
What is the difference between an enumeration and a set of pre-processor # defines?
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
What are the operators in c++?
What is the basic difference between C and C++?
Is c++ slower than c?
What are advantages of c++?