calling functions by reference

mcqspedia.com has 5 Question/Answers about Topic calling functions by reference

Which unary operator is used for determining size of an array?

Which unary operator is used for determining size of an array?
  • A. sizeof
  • B. size_array
  • C. s_array
  • D. size_ofarray
  • Correct Answer: Option A

A qualifier that enables programmers to inform compiler that value of a particular variable should not be modified?

A qualifier that enables programmers to inform compiler that value of a particular variable should not be modified?
  • A. ptr
  • B. const
  • C. stsrt
  • D. None of them
  • Correct Answer: Option B

Which from following is not a correct way to pass a pointer to a function?

Which from following is not a correct way to pass a pointer to a function?
  • A. Non-constant pointer to non-constant data
  • B. A non-constant pointer to constant data
  • C. A constant pointer to non-constant data
  • D. All of them
  • Correct Answer: Option D

There are how many ways in C++ to pass an arguments to a function?

There are how many ways in C++ to pass an arguments to a function?
  • A. 1
  • B. 2
  • C. 3
  • D. 4
  • Correct Answer: Option C

There are how many different ways to pass a pointer to a function?

There are how many different ways to pass a pointer to a function?
  • A. 1
  • B. 2
  • C. 3
  • D. 4
  • Correct Answer: Option D