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 the difference between c and c# programming?
What is xsd and wsdl?
What is the function of retrip in busbar?
What role do regulatory bodies play in ensuring AI safety?
What are the tools that are used in ambari monitoring?
What is autocommit sql?
What is constraints and its types?
How many detail lists can be created in interactive reporting?
What is intern method in java?
What are classes in php?
Explain workspace in go?
Can you assign a matchcode object to a parameter? If so how?
How task's priority is used in scheduling?
If a method is declared as protected, where may the method be accessed in java programming?