MEDIUM
HSSC Clerk
IMPORTANT
Earn 100

What does STL stand for?

50% studentsanswered this correctly

Important Questions on Programming in C/C++

HARD
HSSC Clerk
IMPORTANT

What will be the values of x, m and n after execution of the following statements?

int x, m,n;
m=10;
n=15;
x=++m+n++;

EASY
HSSC Clerk
IMPORTANT
When a function defined inside a class, it refers as
HARD
HSSC Clerk
IMPORTANT

The value of j At the end of the execution of the following C program is:
int incr (int i)
{
static int count = 0;
count = count + i;
return (count);
}
main()
{
int i, j;
for (i = 0; i <=4; i++)
j  = incr (i);
}

HARD
HSSC Clerk
IMPORTANT
What is printed by the print statements in the program P1 assuming call by reference parameter passing?
Program P1()
{
x = 10;
y = 3;
func1 (y,x,x)
print x;
print y;
}
func1 (x,y,z)
{
y = y + 4;
z = x + y + z;
}
MEDIUM
HSSC Clerk
IMPORTANT
The Fibonacci sequence is the sequence of integers
MEDIUM
HSSC Clerk
IMPORTANT
Consider an operation ff addition. For two numbers, the operating will generate a sum. If the operand are strings, and the same operation would produce a third string by concatenation.This feature is called _____.