HARD
HSSC Clerk
IMPORTANT
Earn 100

The keyword 'break' cannot be simply used within
(a)do-while
(b)if-else
(c)for
(d)while
(e)None of these

50% studentsanswered this correctly

Important Questions on Programming in C/C++
HARD
HSSC Clerk
IMPORTANT
Which of the following is a correct format for declaration of a function?

MEDIUM
HSSC Clerk
IMPORTANT
Which of the following function declaration is illegal?

HARD
HSSC Clerk
IMPORTANT
Which function definition will run correctly?

HARD
HSSC Clerk
IMPORTANT
Can we use a function as a parameter of another function? Eg: void wow(int func()) ;

HARD
HSSC Clerk
IMPORTANT
The value obtained in the function is given back to the main function by using _____ keyword.

EASY
HSSC Clerk
IMPORTANT
The function _____ obtains block of memory dynamically.

HARD
HSSC Clerk
IMPORTANT
void * malloc(size_t n) returns:

MEDIUM
HSSC Clerk
IMPORTANT
calloc() returns a storage that is initialised to _____.
