Company: aspire system

ASPIRE SYSTEMS PAPER 2006

Programs
1) Print the pascal triangle. (In that they ask how you adjust the spaces when the value n varies) (I couldnt get clearly what they want)
2) Swap three variables without using fourth variable (I done it)
3) Find the sub-array of the given array which will the maximum sum series.

Questions
1) What is encapsulation
2) How we provide security to the class members.
3) What is difference between abstract class and interface
4) What is virtual function
5) What is the difference between Object Based Language and Object Oriented Language
6) Why C++ is not purely Object Oriented Language?

all the best