MEDIUM
HSSC Clerk
IMPORTANT
Earn 100

What's wrong?

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

50% studentsanswered this correctly

Important Questions on Programming in C/C++

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?
MEDIUM
HSSC Clerk
IMPORTANT
If the programmer does not explicitly provide a destructor, then which of the following creates an empty destructor?
MEDIUM
HSSC Clerk
IMPORTANT
Which one of the following is not a valid reserved keyword in 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