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 (90)
 OOPS interview questions  OOPS Interview Questions (554)
 C++ General interview questions  C++ General Interview Questions (458)
Question
explain defference between structure and class with example
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: explain defference between structure and class with example
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
 
what are abstract classes and how they impliment , with example   2
Which is the best institute in hyderabad for C/C++ and it also has fast track course structure. Wipro 11
In which cases you use override and new base?   2
What is virtual constructors/destructors?   4
What is the difference between C++ and java?   4
What is virtual class and friend class? Intel 5
i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me. Syntel 1
What does the keyword "static" mean? TCS 4
Difference between vector and array   2
what is the advantage in software? what is the difference between the software developer and Engineer   1
WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE?? Biocon 19
How can i write a code in c# to take a number from the user and then find all the prime numbers till the number entered by the user. NIIT 4
 
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