Logo 
Search:

C++ Programming FAQ

Submit Interview FAQ
Home » Interview FAQ » C++ ProgrammingRSS Feeds

Which of the following statements is true about the function that contains the const argumen

  Shared By: Varick Fischer    Date: Jan 15    Category: C++ Programming    Views: 1439

Answer:

Options

a) The function should not modify the const argument
b) Const declaration is necessary only when the arguments are passed by reference
c) Both b and c
d) None of the above


Answer : c) Both b and c

Share: 
 



Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: