ALLInterview.com :: Home Page            
 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                      
Google
   
 
Categories >> Software >> Programming Languages >> C++ >> OOPS
 
 


 

 
 STL interview questions  STL Interview Questions (93)
 OOPS interview questions  OOPS Interview Questions (562)
 C++ General interview questions  C++ General Interview Questions (459)
Question
explain defference between structure and class with example
 Question Submitted By :: OOPS
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
In structure By default data members are public
In class By default data members are private
 
Is This Answer Correct ?    2 Yes 0 No
Maheshkumar Eaga
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
write a program to find the largest of two numbers without using for,while,switch,if else, conditional operator and do while using c++ pgmng language Satyam 3
What is differance between Abstract and Interface   3
Pls...could any one tell me that whether we can access the public data memeber of a class from another class with in the same program. Awaiting for your response Thanku   4
What is polymorphism? Explain with an example.   46
can inline function declare in private part of class?   1
Have you ever interfaced with a database? IBM 2
Write 7 differences between "Public" function and "Private" function? IBM 2
You have one base class virtual function how will call that function from derived class?   4
What will happen when the following code is run: int x; while(x<100) { cout<<x; x++; } 1) The computer will output "0123...99" 2) The computer will output "0123...100" 3) The output is undefined   6
Why is it so that we can have virtual constructors but we cannot have virtual destructors?   2
what is SPL in c++.   1
WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT) TCS 1
 
For more OOPS Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com