5 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

Overall Stats

Attempted 95
Correct 14
Incorrect 23
Viewed 58

Answers

Guest
Guest
Kirti Bagul
Kirti Bagul - 2 months ago

Kirti Bagul is saying The trailing argument will be the default argument. is correct answer

indhuja indhuja
indhuja indhuja - 4 months ago

indhuja indhuja from Erode, India is saying All the argument will be the default argument. is correct answer

pavithra p
pavithra p - 8 months ago

pavithra p from Bengaluru, India is saying All the argument will be the default argument. is correct answer

sahil
sahil - 1 year ago

sahil from Valsad, India is saying The trailing argument will be the default argument. is correct answer

havaj
havaj - 1 year ago

havaj from Valsad, India is saying The trailing argument will be the default argument. is correct answer

Related Questions

When an argument is passed by reference

  • [A] a variable is created in function to hold the argument value
  • [B] the function cannot access the argument value
  • [C] a temporary variable is created in the calling program to hold arguments value
  • [D] None of these

Using turbo C++ library function can ?

  • [A] color any closed figure
  • [B] draw lines and circles
  • [C] write in variety of fonts and sizes
  • [D] all of above

Which of the following function / type of function cannot be overloaded?

  • [A] Member function
  • [B] Static function
  • [C] Virtual function
  • [D] Both B and C

The signature of a function is its ..... ?

  • [A] Function code
  • [B] Prototype
  • [C] Call
  • [D] Parameter list

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);