|
1. What is the difference between hard real-time and soft real-time OS? 2. #define cat(x,y) x##y concatenates x to y. But cat(cat(1,2),3) does not expand but gives preprocessor warning. Why? 3. Which way of writing infinite loops is more efficient than others? 4. Can you have constant volatile variable? 5. Order of constructor and destructor call in case of multiple inheritance? 6. How is generic list manipulation function written which accepts elements of any kind? 7. When you inherit a class using private keyword which members of base class are visible to the derived class? 8. # error — what it does? 9. Scope of static variables? 10. Why cannot arrays be passed by values to functions? 11. Multiple inheritance - objects contain howmany multiply inherited ancestor? 12. Advantages and disadvantages of using macro and inline functions? 13. Difference between object oriented and object based languages? 14. Can structures be passed to the functions by value? 15. What happens when recursion functions are declared inline?
|