technical interview Q & A for high-tech professionals
Interview Questions
Electronics Hardware
Computer Software
Quick Thinking Tests
General questions
Phone screening questions
Submit your Q or A

Technical articles
Technical discussion
Resume and interview
How to get a job in Silicon Valley
How much are you worth on market?
Why you may need an agent

Break point
Written Exam
Logic Tests
Professional Test
Tomato company
Cup of coffee
How stock market works
Engineering jokes

About Hitequest
About Hitequest
Home page


=Computer Software Questions=


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

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."