Answer to Question #169868 in C++ for Sambit

Question #169868

Write the definition of void function that takes as input two parameters of type int, double and string.the functions seta the values of int and double variable to 0 and the value of the string variable to the empty string



1
Expert's answer
2021-03-09T01:55:29-0500
void function(int i, double d, string s)

{

i=0;

d=0;

s="";

cout<<i<<d<<s;

}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS