Q. In C, what is the meaning of following function prototype with empty parameter list

Code:
void fun()
{
   /* .... */
}
  • (A) Function can be called with one integer parameter.
  • (B) Function can be called with any number of integer parameters.
  • (C) Function can be called with any number of parameters of any types
  • (D) Function can only be called without any parameter
πŸ’¬ Discuss
βœ… Correct Answer: (C) Function can be called with any number of parameters of any types

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
198
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
86%
Success Rate