6 years ago in C++ Functions

Which of the following statement will be correct if the function has three arguments passed to it?

[A] The trailing argument will be the default argument.
[B] The first argument will be the default argument.
[C] The middle argument will be the default argument.
[D] All the argument will be the default argument.
Loading...
Next Question

Create your Digital Resume For FREE on your name's sub domain "yourname.wcard.io". Register Here!


Overall Stats

Attempted 114
Correct 15
Incorrect 27
Viewed 72

Answers

Guest
Guest
Jaspher Taruc
Jaspher Taruc - 2 months ago

Jaspher Taruc is saying The first argument will be the default argument. is correct answer

Ahmed Alanbagi
Ahmed Alanbagi - 3 months ago

Ahmed Alanbagi from Baghdad, Iraq is saying All the argument will be the default argument. is correct answer

Chafei Wael
Chafei Wael - 8 months ago

Chafei Wael from Montrouge, France is saying All the argument will be the default argument. is correct answer

priyanka tile
priyanka tile - 9 months ago

priyanka tile from Nashik, India is saying The trailing argument will be the default argument. is correct answer

066 Pravat Kumar Mohapatra
066 Pravat Kumar Mohapatra - 9 months ago

066 Pravat Kumar Mohapatra from Bhubaneswar, India is saying All the argument will be the default argument. is correct answer

Related Questions

One of the disadvantage of pass by reference is that the called function may inadvertently corrupt the called data.This is avoided by ?

  • [A] passing pointers
  • [B] declaring the formal parameters constant
  • [C] declaring the actual parameters constant
  • [D] all of above

Which of the following function prototype is perfectly acceptable?

  • [A] int Function(int Tmp = Show());
  • [B] float Function(int Tmp = Show(int, float));
  • [C] Both A and B.
  • [D] float = Show(int, float) Function(Tmp);

A static function

  • [A] should be called when an object is destroyed
  • [B] is closely connected with an individual object of a class
  • [C] can be called using the class name and function
  • [D] is used when a dummy object must be created

Which of the following type of function is an ideal candidate for being declared inline ?

  • [A] A function that is small and is not called frequently
  • [B] A function that is small and is called frequently
  • [C] A function that is not small and is not called frequently
  • [D] A function that is not small and is called frequently

What is true about inline functions ?

  • [A] It's a compulsion on the compiler to make function inline
  • [B] It's a request to the compiler to make te function inline
  • [C] It's the indication to the compiler that the function is recursive
  • [D] It's the indication to the compiler that the function is member function