0% found this document useful (0 votes)
11 views2 pages

Sample Oral Questions

The document contains a comprehensive list of questions related to C++ programming concepts, including pointers, dynamic memory allocation, structures, object-oriented programming, and exception handling. It covers fundamental topics such as class and object definitions, access modifiers, inheritance, polymorphism, and operator overloading. Additionally, it addresses file handling and storage classes in C++.

Uploaded by

siddhesh0745
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

Sample Oral Questions

The document contains a comprehensive list of questions related to C++ programming concepts, including pointers, dynamic memory allocation, structures, object-oriented programming, and exception handling. It covers fundamental topics such as class and object definitions, access modifiers, inheritance, polymorphism, and operator overloading. Additionally, it addresses file handling and storage classes in C++.

Uploaded by

siddhesh0745
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1. What is pointer variable? why it is used?

2. How to initialize pointer?


3. Array and pointer syntax?
4. How pointer can be passed to function?
5. What is dynamic memory allocation? When it is used?
6. Different function used for dynamic memory allocation(syntax)?
7. Why we use structure? How it is defined?
8. When array of structure is used?
9. How to pass structure to function?
10. Explain structure with pointer?
11. Structure Vs Unions?
12. C++ program structure?
13. C++ input and output (cin, cout)?
14. Storage Classes in C++?
15. What is function in C++ (Types)?
16. Function call stack?
17. Operators in C++?
18. New and delete operator?
19. Default arguments in C++?
20. What is call by reference?
21. Benefits of OOP?
22. Data types in C++?
23. What is class and object?
24. What are access modifiers? explain with types?
25. What is data member and data member function?
26. UML notation for class?
27. What is scope resolution operator? Where it used?
28. What is object? How to call member function and how to access data member using object?
29. What is constructor? Explain its types?
30. What is destructor? When it is called?
31. What is this pointer in C ++?
32. What is data abstraction , data encapsulation and data hiding in C++?
33. What is constant object?
34. What is inheritance? Explain its types?
35. UML notations for inheritance?
36. Explain inheritance for public, private, protected access modifiers?
37. What is polymorphism?
38. What is function overriding?
39. What is function overloading?
40. Explain Early binding Vs Late binding?
41. Explain virtual and pure virtual function?
42. Explain friend function?
43. What is friend class?
44. Why operator overloading is used?
45. How we can use operator overloading?
46. Which operator we cannot overload?
47. What is exception handling?
48. When exception handling is used?
49. How to read/write file?
50. Which classes are used for file read write operation?

You might also like