Answer Posted / asdf
According to the standard C++03, all classes "shall have
nonzero size."
1 byte is the most common implementation but it is left up
to the vendor.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is oop better than procedural?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is destructor give example?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What makes a language oop?
What is the real time example of encapsulation?
What is for loop and its syntax?
What is pointer in oop?
What is the main purpose of inheritance law?
Are polymorphisms mutations?
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 is oops?what is its use in software engineering?
What is the problem with multiple inheritance?
What is multilevel inheritance in oop?
Templates mean