C interview questions – page 20

2,130 questions. Tap “Show answer” to check yourself.

Advertisement
  1. What is server code and client code?

  2. What are the differences between c and c++? If possible give more points.what are the disadvantages of C++?

  3. How to write a program to read sequences of integer from keyboard.program should sum all even and odd numbers?

  4. What happens to the member pointers when an exception occurs in constructor, while allocating memory?How can we over come this ?

  5. Write a program on far,null,near,void ,wild,this pointers? And find out the advantages and disadvantages among these pointers?

  6. Is it possible to know that how much memory used by a member function or constructor?

  7. Real life examples of polymorphisms, encapsulation and inheritance?

  8. How to convert ascii into number value like if i typed in the letter 'R' it would give me a value of 120 0r something?

  9. How object oriented concept is implemented in cell phone?

  10. What is void main mean?

  11. What is importance of const. pointer in copy constructor?

  12. How to write programing in c++ language to find a solution to an equation by using stack?

  13. Advertisement
  14. Is there any way to write a class such that no class can be inherited from it. Please include code

  15. Why the constructor can't be virtual?

  16. What is the object-oriented design,inheritance and dynamic polymorphism in c++?

  17. What is the return value for getch()?

  18. What is a friend function & its advantage?

  19. What is an object?Define a class.

  20. What are the major differences between C, C++, JAVA?

  21. I want a program on INLINE function and demonstrate the program with INLINE function and without INLINE function.Because i want to know clearly the difference between INLINE FUNCTION AND FUNCTION?

  22. What is the difference between delete and delete [ ]?

  23. Define abstraction,encapsulation,inheritance:with example.

  24. Why Call by reference technique is used in case of Copy constructor & not call by value?

  25. What is the difference between shallow copy and deep copy also default copy is shallow or deep?

  26. Advertisement
  27. What Is The Use of VirtualDestructer?

  28. How to write c++ program to write a message to the screen?

  29. What are the differences between member function and constructor?

  30. Hi I would like to know how to convert binary to decimal in c++?

  31. What are advantages of pure virtual function?

  32. Why c++ is called as object-oriented language? Here what does object mean?

Advertisement