Disha Expert Team Solutions for Chapter: Programming in C/C++, Exercise 1: Exercise

Author:Disha Expert Team

Disha Expert Team Computer Science Solutions for Exercise - Disha Expert Team Solutions for Chapter: Programming in C/C++, Exercise 1: Exercise

Attempt the practice questions on Chapter 13: Programming in C/C++, Exercise 1: Exercise with hints and solutions to strengthen your understanding. Professional Knowledge for IBPS & SBI Specialist IT Officer Exam solutions are prepared by Experienced Embibe Experts.

Questions from Disha Expert Team Solutions for Chapter: Programming in C/C++, Exercise 1: Exercise with Hints & Solutions

MEDIUM
HSSC Clerk
IMPORTANT

Which classes allow primitive types to be accessed as objects?

EASY
HSSC Clerk
IMPORTANT

Each pass through a loop is called a/an _____.

MEDIUM
HSSC Clerk
IMPORTANT

Which of the following is not recommended in a header file?

MEDIUM
HSSC Clerk
IMPORTANT

What's wrong?

(x = 4 && y = 5)? (a= 5); (b = 6);

HARD
HSSC Clerk
IMPORTANT

Which of the STL containers store the elements contiguously (in adjacent memory locations)?

MEDIUM
HSSC Clerk
IMPORTANT

What will be the range of the printed numbers in the following program?


#include<iostrearn.h>
void main ()

{

int n = 1;
do
{
cout <<n<<"\t";
n++;
} while (n100):
cout <<endl;

}

MEDIUM
HSSC Clerk
IMPORTANT

What's wrong?

while ((i < 10) && (i > 24))

MEDIUM
HSSC Clerk
IMPORTANT

Which of the following concepts mean determining at runtime what method to invoke?