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 (563)
 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
 
what is single inheritance? IBM 18
What is difference between function overloading and overriding? emc2 1
Out of 4 concepts, which 3 C++ Follow? TCS 1
Write a program in c++ to read two floating point numbers and find their sum and average.   2
Write A Program using Single and Multiple Inheritance.   1
What are the valid types of data that the main () can return in C/C++ language   3
What is the differances between a abstract calss and interface Aviva 5
what is abstract class ? when is used in real time ? give a exp   5
The company is a fake company asking for money of RS10000 while training and not offering a job after training. My humble request to you people not to attend Astersys interview Astersys 1
What is the difference between declaration and definition?   19
What is extreme programming?   2
what is data hiding. Wipro 3
 
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