Computer Science, asked by soujanyasouji1993, 11 months ago

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 ishikaishikaa
2

\huge{\fbox{\fbox{\bigstar{\mathfrak{\orange{Answer}}}}}}

\huge{\underline{\bf\green{ (a) }}}

{\boxed{\bf\blue{ BRAINLY }}}

Similar questions