Functions, Namespaces & Exceptions in C++ Quiz 1

0%
0

Functions, Namespaces & Exceptions in C++ Quiz 1

1 / 50

If the user did not supply the value, what value will it take?

2 / 50

Which is used to keep the call by reference value as intact?

3 / 50

What will you use if you are not intended to get a return value?

4 / 50

What is a comment in c++?

5 / 50

From which function the execution of a C++ program starts?

6 / 50

Which looping process is best used when the number of iterations is known?

7 / 50

How many types of loops are there in C++?

8 / 50

Which operator is having the highest precedence?

9 / 50

Where does the execution of the program starts?

10 / 50

Which of the following is the default return value of functions in C++?

11 / 50

An inline function is expanded during ______________

12 / 50

Where does the return statement returns the execution of the program?

13 / 50

How are many sequences of statements present in c++?

14 / 50

What is used to write multi line comment in c++?

15 / 50

What are the advantages of passing arguments by reference?

16 / 50

Function overloading is also similar to which of the following?

17 / 50

How many types of returning values are present in c++?

18 / 50

What is this operator called ?:?

19 / 50

Which of the following feature is used in function overloading and function with default argument?

20 / 50

Which operator is having the right to left associativity in the following?

21 / 50

If an argument from the parameter list of a function is defined constant then _______________

22 / 50

What will happen when we use void in argument passing?

23 / 50

By default how the value are passed in c++?

24 / 50

What should be passed in parameters when function does not require any parameters?

25 / 50

When will we use the function overloading?

26 / 50

What is the use of the indentation in c++?

27 / 50

In which of the following we cannot overload the function?

28 / 50

What is an inline function?

29 / 50

How many types of comments are there in c++?

30 / 50

What is the use of dynamic_cast operator?

31 / 50

Which value will it take when both user and default values are given?

32 / 50

The switch statement is also called as?

33 / 50

When we define the default values for a function?

34 / 50

The destination statement for the goto label is identified by what label?

35 / 50

How many can max number of arguments present in function in the c99 compiler?

36 / 50

Which is more effective while calling the functions?

37 / 50

What are mandatory parts in the function declaration?

38 / 50

which of the following is used to terminate the function declaration?

39 / 50

What is the scope of the variable declared in the user defined function?

40 / 50

Overloaded functions are ________________

41 / 50

How many minimum number of functions should be present in a C++ program for its execution?

42 / 50

What will happen while using pass by reference?

43 / 50

The if..else statement can be replaced by which operator?

44 / 50

Which of the following permits function overloading on c++?

45 / 50

What type of comments does c++ support?

46 / 50

What happens to a function defined inside a class without any complex operations (like looping, a large number of lines, etc)?

47 / 50

Where can the default parameter be placed by the user?

48 / 50

Which of the following is important in a function?

49 / 50

Where should default parameters appear in a function prototype?

50 / 50

How many ways of passing a parameter are there in c++?

Provide Your Information

Your score is

The average score is 0%

0%

Qunoot e Nazilah
Dua e Hajat
4 Qul
6 Kalma
Dua-e-Akasha
Darood Akbar
Surah Fatiha
Dua-e-Ganj Ul Arsh
Dua-e-Jamilah
Ayat-ul-Kursi