A C++ program contains a function with the header int function(double d, char c). Which of the following function headers could be used within the same program?

Review the verified answer and explanation for this DemoPaper-Pakistan past-paper question on CampusFin.

A C++ program contains a function with the header int function(double d, char c). Which of the following function headers could be used within the same program? Answer: int function(int d, char c)

Question context

This question is part of 💻 Computing within the broader 💾 Computer Science subject and appears in the DemoPaper-Pakistan preparation collection. Reviewing the answer together with nearby questions helps reinforce the underlying concept and identify how it may appear in competitive exams.