HARD
HSSC Clerk
IMPORTANT
Earn 100

Which function definition will run correctly?

50% studentsanswered this correctly

Important Questions on Programming in C/C++

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.
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 3.14 by 2.1?
MEDIUM
HSSC Clerk
IMPORTANT
By default, a real number is treated as a _____
MEDIUM
HSSC Clerk
IMPORTANT

Which of the following is not user defined data type ?

1. struct book

{

char name[10];

float price;

int pages;

};

2. long int1 = 2.35;

3. enum day{Sun,Mon,Tue,Wed};