Top 50 Programming  C++ Solved MCQs Questions Answers

By: Prof. Dr. Fazal Rehman | Last updated: April 15, 2025

49 Score: 0 Attempted: 0/48 Subscribe
1. What does the rectangle symbol indicate in a flowchart?





2. C++ is a(n):





3. The arithmetic operators are:





4. The escape sequence for carriage return is:





5. In a switch structure, each case label may be an integer constant or:





6. What will be the value of ‘x’ after executing for(x=1; x<=15; x++);?





7. Pointers are used for implementing the concept of:





8. The function strlen(“ABC”) will return the value:





9. The data items of a structure are called:





10. In C++, the functions of a class are called:





11. The derived class is also called:





12. Which of the following types of inheritance is commonly used?





13. Polymorphism is achieved through:





14. Which of the following stream classes is used to perform both input and output file operations?





15. How many operations can be performed on a stack?





16. Which of the following is used in recursion operations?





17. In-order traversal:





18. In binary I/O, the integer value 16324 will take:





19. A class that has at least one pure virtual function is called:





20. Inheritance is the process of creating new classes called:





21. Which of the following functions is a non-member function of a class?





22. When accessing a structure member, the identifier to the left of the dot operator is the name of:





23. The null character is denoted by:





24. Each element of an array of characters occupies:





25. How many arithmetic operations can be performed on a pointer?





26. Which of the following loop structures has the test condition after the body of the loop?





27. Which of the following is a counter loop statement?





28. How many relational operators are there in C++?





29. Which of the following is a logical operator?





30. A stream refers to:





31. A person that can write a computer program is called:





32. The term mnemonic is used in:





33. In which year was BCPL developed?





34. Which of the following is part of the C++ compiler?





35. The extension of a C++ source program is:





36. Which operator is a unary operator?




37. The statement a++ is equivalent to:





38. The cerr is a(n):





39. The escape sequence for carriage return is:





40. A relational operator:





41. Which of the following statements is a loop statement?





42. Which logical operator is a unary operator?





43. A pointer may be initialized to:





44. How many loop structures are there in C++?





45. Which of the following is an address operator?





46. A pointer is a(n):





47. Which of the following is a relational operator?





48. In the following statements, which are correct?





  Top 50 Programming  C++ Solved MCQs Questions Answers.

Programming C Plus Plus MCQs Homepage

shamil memory table Computer Science Repeated MCQs Book Download  

Leave a Comment

All Copyrights Reserved 2025 Reserved by T4Tutorials