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                      
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
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'S THE OOPS BASIC OOPS CONCEPTS IN DOTNET  1
Write a program in c++ to read two floating point numbers and find their sum and average.  2
What is conditional Compilation? emc23
Can anyone please explain runtime polymorphism with a real time example??at what ciscumstances we go for it??  1
can we make game by using c SmartData1
i hav very low percentage in 12th n BSCwhich is around 50.......coz it was just imposed on me 2 b a science graduate,nw m doin MCA n hav aggregate 74% ....what shud i answer if company's HR ask me about dis much low previous percentage?????? Infosys3
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
What is function overloading?,describe it with the example.  5
What is the difference between const int *ptr and int const *ptr???  2
What is extreme programming?  2
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. NIIT3
What are the main differences between procedure oriented languages and object oriented languages? IBM9
 
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 © 2012  ALLInterview.com.  All Rights Reserved.

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