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
void function(int i, double d, string s)
{
i=0;
d=0;
s="";
cout<<i<<d<<s;
}
Comments
Leave a comment