EASY
HSSC Clerk
IMPORTANT
Earn 100

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

50% studentsanswered this correctly

Important Questions on Programming in C/C++

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?
MEDIUM
HSSC Clerk
IMPORTANT
Which of the following concept of oops allows compiler to insert arguments in a function call if it is not specified?
MEDIUM
HSSC Clerk
IMPORTANT
What happens when a class with parameterized constructors and having no default constructor is used in a program, and we create an object that needs a zero-argument constructor?