Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given the following program select the line number of the function heading for func: #include // Line 1 using namespace std;// Line 2 void func(int,

  1. Given the following program select the line number of the function heading for func:

#include // Line 1

using namespace std;// Line 2

void func(int, double, char);// Line 3

int main()// Line 4

{

func(1, 2.0, 'a');// Line 5

}

void func(int i, double x, char ch)// Line 6

{

cout << i << x << ch << endl;// Line 7

}

A) Line 3

B) Line 5

C) Line 6

D) None of the above

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Programming questions