QUIZACK
  • Categories
    IT & Programming Design & Multimedia Writing & Translation Sales & Marketing Admin Support Engineering & Manufacturing Finance & Management Networking & Troubleshooting Stocks & Investments Electronics & Appliances Online Tools General Knowledge & Aptitude Mathematics Educational Subjects & Courses Business & Organization Health & Wellbeing Culture & Ethics IT Field Knowledge & Experience Languages & Communication Entrepreneurship & Leadership Economics & Development Mass Communication & Media Research Methods & Evaluation Public Relations & Dealings Educational Methods and Research Educational Subjects & Techniques Crime & Justice Governments & Policies Hospitality & Tourism Soft Skills & Personal Management Transportation & Driving Rules Forest and Nature Religion
search
Sign In / Sign Up
  1. Home
  2. MCQ

Infosys C++ MCQ Questions Answers

Start Practice
Start Quiz
PDF Download

Infosys C++ multiple choice questions List

1. Which of the following correctly describes the meaning of 'namespace' feature in C++?

2. Which of the following correctly describes C++ language?

3. How do we define a constructor?

4. In a group of nested loops, which loop is executed the most number of times?

5. What is the output of the following code snippet? class test { public: static int n; test () { n++; }; ~test () { n--; }; }; int test::n=0; int main () { test a; test b[5]; test * c = new test; cout << a.n << endl; delete c; cout << test::n << endl; return 0; }

6. Which of the following comments about the "++" operator are correct?

7. Which one of the following is not a correct variable type in C++ programs?

8. What punctuation must use to end the code C/C++ expression statement?

9. There is a unique function in C++ program by where all C++ programs start their execution

10. What punctuation ends most lines of C++ code?

11. The built-in library function ceil(x) requires the header file

12. By default, the standard input device for C++ program is

13. Which of the following is input statement in C++?

14. Which of the following is output statement in C++?

15. Every statement in C++ program should end with

Related MCQ's

Object–relational Mapping Skill Assessment

Object–relational Mapping

Lisp Programming Skill Assessment

Lisp Programming

CNC programming Skill Assessment

CNC programming

Pay-per-click (PPC) Skill Assessment

Pay-per-click (PPC)

FoxPro Skill Assessment

FoxPro

Comptia A +: Hardware Skill Assessment

Comptia A +: Hardware

Related MCQ's

go   .NET Framework
go   Eclipse
go   Android
go   Kotlin
go   Go (Programming Language)
go   Windows 10
QUIZACK

Evaluate your skill level in just 10 minutes with QUIZACK smart test system.

Categories

General Knowledge & Aptitude
Stocks & Investments
Electronics & Appliances
Softwares & Applications
Aviation & Aerospace
Website Designing & Development
Educational Subjects & Techniques
Public Relations & Dealings

New Exams

Corporate Strategy
Human Resource Information Systems
Human Resource Management (Fundamentals)
Business Ethics
Entrepreneurship
Purchasing and Supply Chain Management
Project Management
Management Fundamentals

Other Pages

Blog
About Us
Contact Us
Terms of Use
Privacy Policy

Copyright © 2021 Quizack . © 2021 All rights reserved