MEDIUM
HSSC Clerk
IMPORTANT
Earn 100

Which of the following function declaration is illegal?
(a)int 1bhk(int);
(b)int 1bhk(int a);
(c)int 2bhk(int, int[]);
(d)All of the mentioned
(e)None of the above

50% studentsanswered this correctly

Important Questions on Programming in C/C++
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 _____.

MEDIUM
HSSC Clerk
IMPORTANT
Which of the following statements should be used to obtain a remainder after dividing by ?

MEDIUM
HSSC Clerk
IMPORTANT
By default, a real number is treated as a _____
