6 years ago in C++ Functions

Which of the following statement is correct?

[A] C++ enables to define functions that take constants as an argument.
[B] We cannot change the argument of the function that that are declared as constant.
[C] Both A and B.
[D] We cannot use the constant while defining the function.
Loading...
Next Question

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


Overall Stats

Attempted 113
Correct 23
Incorrect 21
Viewed 69

Answers

Guest
Guest
Ahmed Alanbagi
Ahmed Alanbagi - 7 months ago

Ahmed Alanbagi from Baghdad, Iraq is saying We cannot change the argument of the function that that are declared as constant. is correct answer

priyanka tile
priyanka tile - 1 year ago

priyanka tile from Nashik, India is saying Both A and B. is correct answer

066 Pravat Kumar Mohapatra
066 Pravat Kumar Mohapatra - 1 year ago

066 Pravat Kumar Mohapatra from Bhubaneswar, India is saying Both A and B. is correct answer

indhuja indhuja
indhuja indhuja - 1 year ago

indhuja indhuja from Erode, India is saying Both A and B. is correct answer

Sarita Nauriya
Sarita Nauriya - 1 year ago

Sarita Nauriya from Hyderabad, India is saying Both A and B. is correct answer

Related Questions

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

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

Which member function of class cannot modify its objects attributes ?

  • [A] friend functions
  • [B] Private member functions
  • [C] Constant member functions
  • [D] Static member functions

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.

Overloaded function

  • [A] are a group of functions,with the same value
  • [B] all have the same number and types of arguments
  • [C] make life simpler for programmers
  • [D] may fail unexpectedly due to stress