Skip to main content

CSS MPT

  • Home
  • Current
  • GK
  • Science
  • Biology
  • Chemistry
  • Physics
  • Computer
  • English
  • Economics

Consider the main body of a C++ program. If the program is run, what will be displayed on the screen?

July 30, 2024July 30, 2024 CSS MPT Computer Science MCQs FPSC NTS PPSC Computer Past Papers Test Questions

string var1 = “Computer “;
string var2 = “Science”;
string var3 = var1 + var2;
cout << var3 << endl;
If the program is run, what will be displayed on the screen?
(A) var3
(B) Computer
(C) Science
(D) Computer Science

The answer is: (D) Computer Science

Post navigation

A deficiency of iodine in the human body can cause
What will be the output of the following C++ program?

CSS MPT
MPT   Syllabus   Papers   Preparation   MCQs
CSS WRITTEN EXAM
CSS   CSS Syllabus   Past Papers   Notes

GENERAL MCQS
Current Affairs
General Knowledge
Everyday Science
English MCQs
English Grammar MCQs
Pak Study MCQs
Islamic Studies
Arithmetic/ Basic Math
Analytical Reasoning

SCIENCE MCQS
Biology
Chemistry
Physics
Computer Science
Mathematics
Statistics
Full List

BUSINESS MCQS
Accounting
Banking
Commerce
Economics
Finance
Project Management
Business Administration
Full List

SOCIAL SCIENCE
History
Geography
Sociology
International Relations
English Literature
Full List

EDUCATION
Education and Pedagogy
Bloom's Taxonomy MCQs
Testing and Evaluation
Classroom Management & Discipline
Teaching Techniques & Methodology

REGIONAL MCQS
Canada
India
Nigeria
Pakistan
United States
United Kingdom

CSS MPT FPSC Test Past Papers 2024: Home | About | Privacy | Contact | Theme by Colorlib Powered by WordPress