Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

bellow it 8. Given the following program, answer the questions be Winclude iostream> using namespace std const float PI 3.14157; int numl; float sall; char

image text in transcribed
bellow it 8. Given the following program, answer the questions be Winclude iostream> using namespace std const float PI 3.14157; int numl; float sall; char chl; void getinfo(float, int) foat setdata (int&, float&, char& int main (O f int num2; float result, sal2; char ch2; return 0; float setdata (int &a, float & b, char &c) int i,j void getinfo (float x, int y) Write a function call to setdata from main. Use the locally declared variables. b. Write a function call to getinfo from main. Use the locally declared variables. c. Based on your answers above, identify all arguments d. Write the complete headings of all the functions in the program. a. (2 pts) (2 pts) (2 pts) (3 pts) e. Write the names of all the global identifiers excluding functions. (4 pts) f. Write the names of all of the local identifiers that are not parameters. (4 pts) g. Identify all parameters in all functions (2 pts)

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

User Defined Tensor Data Analysis

Authors: Bin Dong ,Kesheng Wu ,Suren Byna

1st Edition

3030707490, 978-3030707491

More Books

Students also viewed these Databases questions

Question

Discuss the evidence for environmental influences on intelligence.

Answered: 1 week ago