What is the output of the code?
#include
#include
using namespace std;
void modify(int x, int y, int z)
{
cout << setfill('$');
cout << setw(sizeof(int)) << x;
cout << setfill ('#');
cout << left << setw(sizeof(double)) << z << endl;
}
int main ()
{
modify (9, 4, 18);
return 0;
}
a) $$$94@@@@@@18
b) $$$$9#4@@@@@18
c) $$$9#418@@@@@@
d) $$$9418@@@@@@
Answers
Answered by
0
Data generated by a computer is referred to as output. This includes data produced at a software level, such as the result of a calculation, or at a physical level, such as a printed document. A basic example of software output is a calculator program that produces the result of a mathematical operation.
Answered by
0
Answer: I hope you find this help full plz mark brainlist
xxxxxxxx77
Similar questions