HITEQUEST
technical interview Q & A for high-tech professionals
 
 
Interview Questions
Electronics Hardware
Computer Software
General questions
Brain teasers

Resources
Resume and interview
How to get a job in Silicon Valley
How much are you worth on market?
Do you need an agent?

Break time stories
Tomato company

About Hitequest
About Hitequest
Join us
Home page

 
 
 
 
 
 
   

 
=Computer Software Questions=

     
   

Q: What is the difference between basic building blocks in C and C++?
 
 
 
 
 
 
 
 

A:
A C++ class vs a C-structure... Here goes a quote from unknown source...
"...it is alive and intelligent. Take away all the member functions from a class, make everything public, eliminate inheritance and remove all the static member data and functions; the result is a traditional C-style struct.
A C-style struct supports multiple instancies, but it is difficult to encapsulate its implementations properly.
Classes support both multiple instances and encapsulation.
When a C-style struct dreams about growing up, it dreams of being a class."