5 years ago in C++ Functions

Which of the following parameter passing mechanism is/are supported by C++ but not in C?

[A] Pass by value
[B] Pass by reference
[C] Pass by value result
[D] All of the above
Loading...
Next Question

Overall Stats

Attempted 185
Correct 40
Incorrect 57
Viewed 88

Answers

Guest
Guest
Arsal Alam
Arsal Alam - 1 day ago

Arsal Alam is saying Pass by reference is correct answer

Katreen Ebraheem
Katreen Ebraheem - 2 days ago

Katreen Ebraheem from Egypt is saying Pass by reference is correct answer

Husna Qasim
Husna Qasim - 2 months ago

Husna Qasim is saying All of the above is correct answer

Anc Patel
Anc Patel - 2 months ago

Anc Patel is saying Pass by value is correct answer

indhuja indhuja
indhuja indhuja - 4 months ago

indhuja indhuja from Erode, India is saying All of the above is correct answer

Related Questions

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

Which of the following function declaration is/are incorrect?

  • [A] int Sum(int a, int b = 2, int c = 3);
  • [B] int Sum(int a = 5, int b);
  • [C] int Sum(int a = 0, int b, int c = 3);
  • [D] Both B and C are incorrect.
  • [E] All are correct.

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.

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