Functions, Namespaces & Exceptions in C++ Quiz 1

0%
0

Functions, Namespaces & Exceptions in C++ Quiz 1

1 / 50

Which operator is having the highest precedence?

2 / 50

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

3 / 50

Where can the default parameter be placed by the user?

4 / 50

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

5 / 50

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

6 / 50

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

7 / 50

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

8 / 50

In which of the following we cannot overload the function?

9 / 50

Where should default parameters appear in a function prototype?

10 / 50

Function overloading is also similar to which of the following?

11 / 50

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

12 / 50

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

13 / 50

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

14 / 50

What are mandatory parts in the function declaration?

15 / 50

When we define the default values for a function?

16 / 50

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

17 / 50

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

18 / 50

Which of the following is important in a function?

19 / 50

What is a comment in c++?

20 / 50

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

21 / 50

What are the advantages of passing arguments by reference?

22 / 50

Which is more effective while calling the functions?

23 / 50

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

24 / 50

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

25 / 50

When will we use the function overloading?

26 / 50

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

27 / 50

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

28 / 50

What will happen while using pass by reference?

29 / 50

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

30 / 50

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

31 / 50

The switch statement is also called as?

32 / 50

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

33 / 50

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

34 / 50

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

35 / 50

What type of comments does c++ support?

36 / 50

Overloaded functions are ________________

37 / 50

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

38 / 50

An inline function is expanded during ______________

39 / 50

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

40 / 50

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

41 / 50

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

42 / 50

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

43 / 50

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

44 / 50

What is an inline function?

45 / 50

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

46 / 50

What is this operator called ?:?

47 / 50

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

48 / 50

What will happen when we use void in argument passing?

49 / 50

Where does the execution of the program starts?

50 / 50

What is the use of dynamic_cast operator?

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