What is the renewal class?
No Answer is Posted For this Question
Be the First to Post Answer
what is costructor?
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 polymorpsim? what are its types?
where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?
Tell us about yourself.
47 Answers ABB, Amazon, Fidelity, Flextronics, Franklin Templeton, HCL, Hexaware, IBM, Impetus, Infosys, Reliance, Rofous, Silgate, Sutherland, TCS, Thomson Reuters, Virtusa, Wipro,
what is the main difference between sizeof() operator in c and c++
What is Iteration Hierarchy? What is what is Object behavioral concept?
What are the benefits of interface?
What is virtual constructors/destructors?
Give two or more real cenario of virtual function and vertual object
define oops with class and object
Program to read a comment string