void dispchar(char ch = ‘$\ int size=10)
{
for(int i = 1;i< = size;i ++)
cout << ch;
}
How will you invoke the function dispchar() for the following input?
To print $ for 10 times
(a) dispchar();
(b) dispchar(ch,size);
(c) dispchar($,10);
(d) dispchar(T, 10 times);