what is the difference between class and structure in C++?
Answer Posted / naveen tuteja
We can declare a structure without a name tag but we cannot
declare a class without name tag.
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What makes a language oop?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What do you mean by abstraction?
What is the importance of oop?
What is inheritance write a program to show use of inheritance?
What is abstraction encapsulation?
What is balance factor?
What is encapsulation in simple terms?
What does sksksk mean in text slang?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is the purpose of polymorphism?
What is abstract class in oop?
What is the difference between procedural programming and oops?
Can main method override?
when to use 'mutable' keyword and when to use 'const cast' in c++