subject

Consider the following function prototypes: (30)int func1(int, double);double func2(string, int, double);char func3(int, int, double, char);string join (string, string);Answer the following questions:a. How many parameters does the function func1 have? What is the type of the functionfunc1?b. How many parameters does function func2 have? What is the type of function func2?c. How many parameters does function func3 have? What is the type of function func3?d. How many parameters does function join have? What is the type of function join?e. How many actual parameters are needed to call the function func1? What is the type of eachactual parameter, and in what order should you use these parameters in a call to the functionfunc1?f. Write a C++ statement that prints the value returned by the function func1 with the actualparameters 3 and 8.5.g. Write a C++ statement that prints the value returned by function join with the actualparameters "John" and "Project Manager", respectively. h. Write a C++ statement that prints the next character returned by function func3. (Use yourown actual parameters.)

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 19:00, devila321
When keyboarding, if you want to be fast and accurate you should return your hands on home row with your fingers relaxed and your eyes on the text use only your index fingers to hunt and peck keep your fingers stiff and your eyes on the keys slouch in your chair and keep your fingers hovering over all of the keys
Answers: 2
image
Computers and Technology, 22.06.2019 00:30, lesok0818
Advantages and disadvantages of binary system
Answers: 1
image
Computers and Technology, 22.06.2019 21:30, elsauceomotho
Im doing this last minute and literally none of my neighbors or people that my dad works with use excel so if anyone could me make up an example
Answers: 1
image
Computers and Technology, 22.06.2019 23:30, lexirandall19
Define a function printfeetinchshort, with int parameters numfeet and numinches, that prints using ' and " shorthand. ex: printfeetinchshort(5, 8) prints: 5' 8"
Answers: 1
You know the right answer?
Consider the following function prototypes: (30)int func1(int, double);double func2(string, int, dou...

Questions in other subjects: