ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  OOPS
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
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


No Answer is Posted For this Question

Be the First to Post Answer

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
What are the OOPS concepts? Wipro36
Whatis the difference between oop and object based language  2
What is a mixin class?  3
all about pointers  2
What is Iteration Hierarchy? What is what is Object behavioral concept?  1
I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe  1
WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT) TCS1
What is a scope resolution operator? HP5
different types of castings Siemens3
What normal C constructs work differently in C++?  1
what is single inheritance?  5
What are the different forms of polymorphism?? PCS5
why c++ is a highlevel language Satyam2
Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.  2
What is an orthogonal base class?  1
What does the keyword "static" mean? TCS1
What is an object? HCL8
WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT. ETH6
What is Dynamic Polymorphism?  8
Which is the only operator in C++ which can be overloaded but NOT inherited?  4
 
For more OOPS Interview Questions Click Here 
         
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com