1) chose from following function headers defines a function that returns a floating point number and two integers as arg

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

1) chose from following function headers defines a function that returns a floating point number and two integers as arg

Post by answerhappygod »

1) chose from following function headers defines a function that
returns a floating point number and two integers as arguments?
A. int super_function(float first, float second) , B. float
super_function(int first, float second) , C. float
super_function(int first, int second)
2) Which of the below functions matches with the following
function call: int number = funktio(float number1, int
number2);
A. char good_function(float x, float y)
{...programming statements...}
, B. int good_function(float x, float y)
{...programming statements...}
C. ) int good_function(float x, int y)
{...programming statements...}
3)
Let's assume every row of the file contains a persons name i.e.
string that can contain spaces. Which of the following statements
reads the name in it's entirety to a string type variable
full_name? The file object name is streaming.
A. streaming.get(full_name);
B. getline(streaming, full_name);
C. streaming.getline(full_name);
D. get(streaming, full_name);
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply