5 years ago in C++ Functions

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

[A] Function code
[B] Prototype
[C] Call
[D] Parameter list
Loading...
Next Question

Overall Stats

Attempted 197
Correct 58
Incorrect 44
Viewed 95

Answers

Guest
Guest
Katreen Ebraheem
Katreen Ebraheem - 1 day ago

Katreen Ebraheem from Egypt is saying Prototype is correct answer

Tooba Mustafa
Tooba Mustafa - 1 month ago

Tooba Mustafa is saying Parameter list is correct answer

Mohamed Ibrahim
Mohamed Ibrahim - 4 months ago

Mohamed Ibrahim from Palestine is saying Parameter list is correct answer

indhuja indhuja
indhuja indhuja - 4 months ago

indhuja indhuja from Erode, India is saying Parameter list is correct answer

Sarita Nauriya
Sarita Nauriya - 5 months ago

Sarita Nauriya from Hyderabad, India is saying Prototype is correct answer

Related Questions

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.

Which of the following statement is correct?

  • [A] Overloaded functions can have at most one default argument.
  • [B] An overloaded function cannot have default argument.
  • [C] All arguments of an overloaded function can be default.
  • [D] A function if overloaded more than once cannot have default argument.

Dividing a program into functions

  • [A] is the key to object oriented programming
  • [B] makes the program easier to conceptualize
  • [C] makes the program run faster
  • [D] both (B) and (C)

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

A friend function can be used to ?

  • [A] avoid arguments between classes
  • [B] allow access to classes whose source code is unavailable
  • [C] allow one class to access an unrelated class
  • [D] increase the versatility of an overloaded operator