EASY
HSSC Clerk
IMPORTANT
Earn 100

In C language, a hexadecimal number is represented by writing

50% studentsanswered this correctly

Important Questions on Programming in C/C++

MEDIUM
HSSC Clerk
IMPORTANT
Value of ix+j, if i,j are integer type and ix long type would be
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))