Q. What are the formal parameters in C++?

  • (A) Parameters which are used in the definition of the function
  • (B) Parameters with which functions are called
  • (C) Variables that are never used in the function
  • (D) Variables other than passed parameters in a function
πŸ’¬ Discuss
βœ… Correct Answer: (A) Parameters which are used in the definition of the function
Explanation: Formal parameters are those which are used in the definition of a function. They are the parameters that represent the actual parameters passed and they are the one which is used inside the function.
Explanation by: Krishna Sharma
Formal parameters are those which are used in the definition of a function. They are the parameters that represent the actual parameters passed and they are the one which is used inside the function.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
244
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Siddharth M
Publisher
πŸ“ˆ
93%
Success Rate